Errors
alloy.errors ¶
AlloyError ¶
Bases: Exception
Base error for Alloy.
CommandError ¶
Bases: AlloyError
Raised when a command fails to produce a valid result.
ToolError ¶
Bases: AlloyError
Raised when a tool contract fails or a tool invocation errors.
ConfigurationError ¶
Bases: AlloyError
Raised when required configuration or provider backends are missing.
ToolLoopLimitExceeded ¶
Bases: CommandError
Raised when the tool-call turn limit is exceeded without a final answer.