Skip to main content
Catch ValkyrieSDKError to handle every SDK-defined failure, or catch a specific subclass.

ValkyrieAPIError

The Valkyrie API returned a non-success response.

ValkyrieConfigError

A saved Valkyrie login could not be read, or signing in or refreshing it failed.

ValkyrieContractError

Raised when an agent contract, or the kwargs passed to it, fails validation.

ValkyrieRunError

A run operation received invalid input.

ValkyrieSDKError

Base class for all SDK errors.

ValkyrieStreamError

A run update stream returned an error or invalid event.

ValkyrieTransportError

A request could not reach the Valkyrie service.