Restate Typescript SDK
    Preparing search index...

    Interface RetryableErrorOptions

    interface RetryableErrorOptions {
        metadata?: Record<string, string>;
        retryAfter?: number | Duration;
    }
    Index

    Properties

    metadata?: Record<string, string>

    Metadata key-value pairs to attach to the error.

    **Note **: requires Restate 1.6+.

    retryAfter?: number | Duration

    In how long it should retry.

    When unset, uses the retry policy configured in the context where it's thrown.