18 lines
471 B
Python
18 lines
471 B
Python
"""Domain-neutral Agent command protocol errors."""
|
|
|
|
|
|
class AgentCommandError(Exception):
|
|
"""Base Agent command protocol error."""
|
|
|
|
|
|
class AgentCommandNotFound(AgentCommandError):
|
|
"""The submitted command identifier is unknown."""
|
|
|
|
|
|
class AgentCommandConflict(AgentCommandError):
|
|
"""The queue row cannot accept the requested transition."""
|
|
|
|
|
|
class AgentResultValidationError(AgentCommandError):
|
|
"""The Agent result does not match its command contract."""
|