Skip to content

@halone/sdk / HaloneError

Class: HaloneError ​

Extends ​

  • Error

Constructors ​

Constructor ​

ts
new HaloneError(code, message): HaloneError;

Parameters ​

code ​

string

message ​

string

Returns ​

HaloneError

Overrides ​

ts
Error.constructor

Properties ​

cause? ​

ts
optional cause?: unknown;

Inherited from ​

ts
Error.cause

code ​

ts
readonly code: string;

message ​

ts
message: string;

Inherited from ​

ts
Error.message

name ​

ts
name: string;

Inherited from ​

ts
Error.name

stack? ​

ts
optional stack?: string;

Inherited from ​

ts
Error.stack

Released under the MIT License.