Skip to content

Function: needsReconcile() ​

ts
function needsReconcile(error): error is ReconcilableError;

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

true when the failed call may already have taken effect and can be looked up with client.reconcile(error): its outcome is unknown, or LINE Pay said it is a duplicate (category: 'duplicate'). Only operations that move money or change state qualify.

Parameters ​

error ​

unknown

Returns ​

error is ReconcilableError

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