Interface: LinePayNetworkErrorInit
Defined in: src/errors/index.ts:504
The part of the init of every error that is not about its own kind.
Extends
Properties
cause?
ts
readonly cause?: unknown;Defined in: src/errors/index.ts:132
The failure underneath, kept as error.cause.
Inherited from
causeCode?
ts
readonly causeCode?: string;Defined in: src/errors/index.ts:507
Node.js error code of the underlying failure, for example ECONNREFUSED.
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: "not-sent" | "unknown";Defined in: src/errors/index.ts:509
not-sent only when the connection was never made.
reason
ts
readonly reason: NetworkErrorReason;Defined in: src/errors/index.ts:505