//#region src/lib/errors.d.ts type PanicCode = "ALL_CATCH_HANDLER_REJECT" | "ALL_CATCH_HANDLER_THROW" | "FLOW_NO_EXIT" | "ORCHESTRATION_UNSUPPORTED_POLICY" | "RETRY_INVALID_LIMIT" | "RUN_CATCH_HANDLER_REJECT" | "RUN_CATCH_HANDLER_THROW" | "RUN_SYNC_ASYNC_RETRY_POLICY" | "RUN_SYNC_CATCH_HANDLER_THROW" | "RUN_SYNC_CATCH_PROMISE" | "RUN_SYNC_TRY_PROMISE" | "RUN_SYNC_WRAPPED_RESULT_PROMISE" | "TASK_INVALID_HANDLER" | "TASK_SELF_REFERENCE" | "TIMEOUT_INVALID_MS" | "TASK_UNKNOWN_REFERENCE" | "UNREACHABLE_RETRY_POLICY_BACKOFF"; /** * @internal */ declare class ControlError extends Error { constructor(message?: string, options?: ErrorOptions); } declare class CancellationError extends ControlError { constructor(message?: string, options?: ErrorOptions); } declare class TimeoutError extends ControlError { constructor(message?: string, options?: ErrorOptions); } declare class RetryExhaustedError extends Error { constructor(message?: string, options?: ErrorOptions); } declare class UnhandledException extends Error { constructor(message?: string, options?: ErrorOptions); } declare class Panic extends Error { readonly code: PanicCode; constructor(code: PanicCode, options?: ErrorOptions & { message?: string; }); } declare function isCancellationError(error: unknown): error is CancellationError; declare function isTimeoutError(error: unknown): error is TimeoutError; declare function isRetryExhaustedError(error: unknown): error is RetryExhaustedError; declare function isUnhandledException(error: unknown): error is UnhandledException; declare function isPanic(error: unknown): error is Panic; //#endregion export { TimeoutError as a, isPanic as c, isUnhandledException as d, RetryExhaustedError as i, isRetryExhaustedError as l, Panic as n, UnhandledException as o, PanicCode as r, isCancellationError as s, CancellationError as t, isTimeoutError as u }; //# sourceMappingURL=errors-CmmADuBm.d.ts.map