ErrorEventArgs: { message: string; type: "open" | string; exception?: any } & EventArgs

Error event arguments.