We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0869ab8 commit bf393c0Copy full SHA for bf393c0
src/index.ts
@@ -34,13 +34,13 @@ export class ApolloError extends ExtendableError {
34
_showPath: boolean = false;
35
36
constructor(name: string, config: ErrorConfig) {
37
- super((arguments[1] && arguments[1].message) || '');
+ super((arguments[2] && arguments[2].message) || '');
38
39
- const t = (arguments[1] && arguments[1].time_thrown) || (new Date()).toISOString();
40
- const m = (arguments[1] && arguments[1].message) || '';
41
- const configData = (arguments[1] && arguments[1].data) || {};
+ const t = (arguments[2] && arguments[2].time_thrown) || (new Date()).toISOString();
+ const m = (arguments[2] && arguments[2].message) || '';
+ const configData = (arguments[2] && arguments[2].data) || {};
42
const d = { ...this.data, ...configData };
43
- const opts = ((arguments[1] && arguments[1].options) || {});
+ const opts = ((arguments[2] && arguments[2].options) || {});
44
45
46
this.name = name;
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments