UNPKG

inngest

Version:

Official SDK for Inngest.com. Inngest is the reliability layer for modern applications. Inngest combines durable execution, events, and queues into a zero-infra platform with built-in observability.

26 lines 736 B
/** * An error that, when thrown, indicates to Inngest that the function should * cease all execution and not retry. * * A `message` must be provided, and an optional `cause` can be provided to * provide more context to the error. * * @public */ export declare class NonRetriableError extends Error { /** * The underlying cause of the error, if any. * * This will be serialized and sent to Inngest. */ readonly cause?: unknown; constructor(message: string, options?: { /** * The underlying cause of the error, if any. * * This will be serialized and sent to Inngest. */ cause?: unknown; }); } //# sourceMappingURL=NonRetriableError.d.ts.map