WebSocket message types and formats
CodeType
enum to define message types:
Error Code | Description |
---|---|
MESSAGE_CODE_REQUIRED | Message code is missing |
UNSUPPORTED_MESSAGE_TYPE | Message code is not recognized |
ROOM_ID_REQUIRED | Room ID is required for this operation |
VALIDATION_ERROR | Message data failed validation |
PROCESSING_ERROR | General error during message processing |
PERMISSION_DENIED | User lacks permission for requested action |
HAITCH_CHAT_ERROR | Error in AI chat processing |
DOCUMENTATION_ERROR | Error in documentation generation |
IDEA_GENERATION_ERROR | Error in idea generation |
ENGINEERING_ERROR | Error in engineering-specific operation |