Exceptions

The exception classes Waymark raises out of the SDK and runtime layer. You'll catch these in workflow try/except blocks or at the call site of workflow.run(...).

Retry exhaustion

Raised when an action exceeds its RetryPolicy's attempt budget. By default this propagates out of the workflow as a normal exception; you can also catch it in a workflow try/except to fall through to a recovery path.

CLASSwaymark.exceptions.ExhaustedRetriesError

Raised when an action exhausts its allotted retry attempts.

Class Constructor

  • Name
    message
    Type
    str | None
    Description

    Default: None


Schedule conflicts

Raised by schedule_workflow(...) when a schedule with the same (workflow_name, schedule_name) already exists and the call wasn't configured to upsert.

CLASSwaymark.exceptions.ScheduleAlreadyExistsError

Raised when a schedule name is already registered.

Class Constructor

  • Name
    message
    Type
    str | None
    Description

    Default: None