diff options
Diffstat (limited to 'src/mml_composemusic_mcp/ir.py')
| -rw-r--r-- | src/mml_composemusic_mcp/ir.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mml_composemusic_mcp/ir.py b/src/mml_composemusic_mcp/ir.py index 87385df..42adc13 100644 --- a/src/mml_composemusic_mcp/ir.py +++ b/src/mml_composemusic_mcp/ir.py @@ -27,6 +27,11 @@ class ErrorCode(Enum): SYSTEM_WAV_WRITE_FAILED = "SYSTEM_WAV_WRITE_FAILED" SYSTEM_INTERNAL_ERROR = "SYSTEM_INTERNAL_ERROR" + # API-level errors (parameter validation, not MML syntax) + VALIDATION_MISSING_PARAMETER = "VALIDATION_MISSING_PARAMETER" + VALIDATION_INVALID_MODE = "VALIDATION_INVALID_MODE" + VALIDATION_INVALID_ACTION = "VALIDATION_INVALID_ACTION" + @dataclass class ErrorDetail: |
