on(name: 'error', listener: (event: PushError) => Promise<void> | void): this;