Type Alias: ApiResponseError

@torque-labs/torque-ts-sdkDocs


@torque-labs/torque-ts-sdk / ApiResponseError

Type Alias: ApiResponseError

type ApiResponseError: {
  message: string;
  status: Exclude<ApiStatus, ApiStatus.SUCCESS>;
};

Generic error response for the API.

Type declaration

NameType

message

string

status

Exclude<ApiStatus, ApiStatus.SUCCESS>

Defined in

src/types/api.ts:58

Last updated