* Builds the empty body error message from the response status, optional description, and request details. * * @stability unstable * @since 4.0.0
()
| 418 | * @since 4.0.0 |
| 419 | */ |
| 420 | override get message() { |
| 421 | const info = `${this.response.status} ${this.methodAndUrl}` |
| 422 | return formatMessage(formatReason(this._tag), this.description, info) |
| 423 | } |
| 424 | |
| 425 | override toJSON(): unknown { |
| 426 | return reasonToJSON(this, super.toJSON()) |
nothing calls this directly
no test coverage detected