dispatchErrorEvent

For internal use, only.