()
| 104 | } |
| 105 | |
| 106 | override toEnvelope(): ErrorEnvelope { |
| 107 | const envelope = super.toEnvelope() |
| 108 | if (this.httpStatus !== undefined) |
| 109 | envelope.error.http_status = this.httpStatus |
| 110 | if (this.method !== undefined) |
| 111 | envelope.error.method = this.method |
| 112 | if (this.url !== undefined) |
| 113 | envelope.error.url = this.url |
| 114 | if (this.rawResponse !== undefined) |
| 115 | envelope.error.raw_response = this.rawResponse |
| 116 | if (this.serverError !== undefined) |
| 117 | envelope.error.server = this.serverError |
| 118 | return envelope |
| 119 | } |
| 120 | |
| 121 | protected override snapshot(): HttpClientErrorOptions { |
| 122 | return { |
nothing calls this directly
no test coverage detected