Skip to content

nooschain v0.1.0


nooschain / cli/http-client / CliHttpError

Class: CliHttpError

Defined in: cli/http-client.ts:18

HTTP failure returned by the node API.

The raw response body is preserved for operator diagnostics, then redacted by the output layer before printing.

Extends

  • Error

Constructors

Constructor

new CliHttpError(message, status, body): CliHttpError

Defined in: cli/http-client.ts:19

Parameters

message

string

status

number

body

unknown

Returns

CliHttpError

Overrides

Error.constructor

Properties

body

readonly body: unknown

Defined in: cli/http-client.ts:22


status

readonly status: number

Defined in: cli/http-client.ts:21

Audience-first NOOSChain documentation.