跳到內容

Interface: CallMeta ​

Defined in: src/errors/index.ts:109

How a call went, as far as it is known: result.meta for a call that succeeded and error.meta for one that failed, in the same shape.

Extended by ​

Properties ​

attempts ​

ts
attempts: number;

Defined in: src/errors/index.ts:118

How many times the request was attempted, including attempts that never connected. A call that was refused before it could be sent counts as one.


durationMs ​

ts
durationMs: number;

Defined in: src/errors/index.ts:113

Total time in milliseconds, retries and waiting between them included.


httpStatus? ​

ts
httpStatus?: number;

Defined in: src/errors/index.ts:124

HTTP status of the last response. Absent when there was none: a network error, a timeout, an abort, an input that was refused, or a result that was recovered by reconcile (the original call never produced a response).


operation ​

ts
operation: 
  | "request"
  | "confirm"
  | "capture"
  | "void"
  | "refund"
  | "paymentDetails"
  | "checkPaymentStatus"
  | "checkRegKey"
  | "payPreapproved"
  | "expireRegKey";

Defined in: src/errors/index.ts:110


startedAt ​

ts
startedAt: Date;

Defined in: src/errors/index.ts:111

Released under the MIT License. An independent library, not made or endorsed by LINE Pay.