()
| 303 | } |
| 304 | |
| 305 | override toJSON(): unknown { |
| 306 | // The cause holds the URL as sent, which may include a redacted path param. |
| 307 | const { cause: _, ...rest } = reasonToJSON(this, super.toJSON()) as Record<string, unknown> |
| 308 | return rest |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | /** |
nothing calls this directly
no test coverage detected