Sure throw Error object on error event.