跳到內容

Interface: ValidationIssue ​

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

One problem with an input or a configuration.

path is where it is, written the way the field is reached: amount, packages[0].products[1].price, transactionId[2]. For an input it is relative to the input object, and input alone means the whole input (it is not an object that can be copied, say). The call options, the second argument of a call, are options.timeout and options.signal: the input of request has an options field of its own, whose paths read options.payment.capture. For a configuration it is relative to the configuration object (timeouts.refund).

Properties ​

message ​

ts
readonly message: string;

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


path ​

ts
readonly path: string;

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

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