Interface: LinePayHttpErrorInit
Defined in: src/errors/index.ts:432
The part of the init of every error that is not about its own kind.
Extends
Properties
body?
ts
readonly body?: unknown;Defined in: src/errors/index.ts:437
bodyText?
ts
readonly bodyText?: string;Defined in: src/errors/index.ts:438
cause?
ts
readonly cause?: unknown;Defined in: src/errors/index.ts:132
The failure underneath, kept as error.cause.
Inherited from
httpStatus
ts
readonly httpStatus: number;Defined in: src/errors/index.ts:433
operation?
ts
readonly operation?:
| "request"
| "confirm"
| "capture"
| "void"
| "refund"
| "paymentDetails"
| "checkPaymentStatus"
| "checkRegKey"
| "payPreapproved"
| "expireRegKey";Defined in: src/errors/index.ts:130
The operation that was being called, when there is one.
Inherited from
outcome
ts
readonly outcome: "unknown" | "rejected";Defined in: src/errors/index.ts:436
rejected for a status of 4xx, unknown for anything else.
reason
ts
readonly reason: HttpErrorReason;Defined in: src/errors/index.ts:434