ErrorCallbacktype

(reason: unknown) => void

Function that is called when something errors.