PubSubErrorCallback: ((err: any) => void)

The error event is for unknown errors. Query errors fire their own reject callbacks.