MCPcopy Index your code
hub / github.com/parse-community/parse-server / pushError

Method pushError

src/LiveQuery/Client.js:55–72  ·  view source on GitHub ↗
(
    parseWebSocket: any,
    code: number,
    error: string,
    reconnect: boolean = true,
    requestId: number | void = null
  )

Source from the content-addressed store, hash-verified

53 }
54
55 static pushError(
56 parseWebSocket: any,
57 code: number,
58 error: string,
59 reconnect: boolean = true,
60 requestId: number | void = null
61 ): void {
62 Client.pushResponse(
63 parseWebSocket,
64 JSON.stringify({
65 op: 'error',
66 error,
67 code,
68 reconnect,
69 requestId,
70 })
71 );
72 }
73
74 addSubscriptionInfo(requestId: number, subscriptionInfo: any): void {
75 this.subscriptionInfos.set(requestId, subscriptionInfo);

Callers 7

_onAfterDeleteMethod · 0.80
_onAfterSaveMethod · 0.80
_onConnectMethod · 0.80
_handleConnectMethod · 0.80
_handleSubscribeMethod · 0.80
_handleUnsubscribeMethod · 0.80
Client.spec.jsFile · 0.80

Calls 1

pushResponseMethod · 0.80

Tested by

no test coverage detected