Type Alias: Outcome
ts
type Outcome = "not-sent" | "unknown" | "rejected";Defined in: src/errors/index.ts:35
What the caller may assume about the request that failed.
not-sent: the request definitely did not leave this process (or never got past the connection phase), so nothing moved. A request that failed on the way out can be sent again as it is; one that was refused as invalid has to be fixed first. "Definitely" rests on thefetchin use sending a request once per call, and refusing redirects.unknown: the request may have reached LINE Pay and may have been processed, but no trustworthy response came back. Do not treat it as a failure; for operations that move money, usereconcile.rejected: LINE Pay (or something in front of it) refused the request.