Skip to content

Interface: AppErrorOptions ​

What an AppError says beyond its message.

Properties ​

retryable? ​

ts
optional retryable?: boolean;

The host may try again: a vendor's outage, as opposed to a bad input or a refusal.


retryAfterMs? ​

ts
optional retryAfterMs?: number;

With retryable: how long the vendor asked to wait before another attempt (its retry-after), in ms, an hour at most; the next attempt waits at least that long.

Released under the Apache-2.0 License.