You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a new ApolloError object. Note that `ApolloError` in this context refers
91
115
to an error class created and returned by `createError` documented below. Error can be
92
-
initialized with a custom `time_thrown` ISODate (default is current ISODate), `data` object (which will be merged with data specified through `createError`, if it exists), and `message` (which will override the message specified through `createError`).
116
+
initialized with a custom `time_thrown` ISODate (default is current ISODate), `data` object (which will be merged with data specified through `createError`, if it exists), `internalData` object (which will be merged with internalData specified trough `createError`) and `message` (which will override the message specified through `createError`).
Creates and returns an error class with the given `name` and `message`, optionally initialized with the given `data`and `options`. `data` passed to `createError` will later be merged with any data passed to the constructor.
121
+
Creates and returns an error class with the given `name` and `message`, optionally initialized with the given `data`, `internalData`and `options`. `data` and `internalData` passed to `createError` will later be merged with any data passed to the constructor.
0 commit comments