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.
22 lines • 532 B
TypeScript
/**
* An error that represents a step exhausting all retries and failing. This is
* thrown by an Inngest step if it fails.
*
* It's synonymous with an `Error`, with the addition of the `stepId` that
* failed.
*
* @public
*/
export declare class StepError extends Error {
/**
* The ID of the step that failed.
*/
readonly stepId: string;
cause?: unknown;
constructor(
/**
* The ID of the step that failed.
*/
stepId: string, err: unknown);
}
//# sourceMappingURL=StepError.d.ts.map