Skip to content

Interface: ResultMeta ​

Defined in: src/client-types.ts:43

How a call that succeeded went; a call that failed has the CallMeta on its error.

Extends ​

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.

Inherited from ​

CallMeta.attempts


durationMs ​

ts
durationMs: number;

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

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

Inherited from ​

CallMeta.durationMs


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).

Inherited from ​

CallMeta.httpStatus


operation ​

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

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

Inherited from ​

CallMeta.operation


recovered? ​

ts
recovered?: RecoveryInfo;

Defined in: src/client-types.ts:45

Present only when reconcile inferred this result after an unknown outcome.


startedAt ​

ts
startedAt: Date;

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

Inherited from ​

CallMeta.startedAt

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