method Gateway.prototype.onerrorimport { Gateway } from "https://deno.land/x/harmony@v2.9.1/src/gateway/mod.ts"; onerror(event: ErrorEvent): Promise<void>Parametersevent: ErrorEventReturnsPromise<void>