UmweltDocs
Reference/Protocol error codes

Protocol error codes

The following protocol v1 codes are frozen. Existing code text must never be changed or reused for another meaning.

CodeMeaning
VALIDATION_FAILEDThe request or payload is malformed, incomplete, or violates a domain rule.
NOT_FOUNDThe requested Umwelt object or file does not exist.
VERSION_CONFLICTexpectedVersion does not equal the current project version.
CONFLICTThe request conflicts with already stored state.
INVALID_STATEThe operation is valid in shape but cannot run in the object’s current lifecycle state.
HANDSHAKE_REQUIREDA non-hello operation was sent before the handshake.
UNSUPPORTED_PROTOCOLThe requested protocol version or range does not include version 1.
UNKNOWN_OPThe requested operation name is not part of protocol v1.
FILE_LOCKEDAnother process owns the exclusive lock for the .umw file.
NOT_UMWELT_FILEThe SQLite file does not have the Umwelt application identifier.
UNSUPPORTED_FILE_VERSIONThe file storage version is newer than this engine supports.
PAYLOAD_TOO_LARGEA request line exceeds 16 MiB.
INTERNALAn unexpected engine, storage, serialization, or I/O failure occurred.

Error messages are English diagnostics for humans. Programs must branch on code, not message.

Was this page helpful?