Structs§
- OlError
- A structured, user-facing error with an OL-XXXX code.
Constants§
- ERR_
ALREADY_ RUNNING - A daemon instance is already running on this machine.
- ERR_BUG
- Code assigned to all internal/unexpected errors routed through bug_report().
- ERR_
DAEMON_ START_ FAILED - Daemon process started but health check failed within timeout.
- ERR_
EVENT_ DEDUPED - Event was deduplicated within the TTL window (informational).
- ERR_
EVENT_ TOO_ LARGE - Event body exceeds the 1 MB size limit.
- ERR_
HOOK_ AGENT_ NOT_ FOUND - No supported AI agent was detected on this machine.
- ERR_
HOOK_ CONFLICT - Existing non-OpenLatch hooks detected in settings.json (warning, non-blocking).
- ERR_
HOOK_ MALFORMED_ JSONC - The settings.json file contains malformed JSONC that cannot be parsed.
- ERR_
HOOK_ WRITE_ FAILED - Cannot read or write the agent’s settings.json (permissions, I/O error).
- ERR_
INVALID_ CONFIG - The configuration file contains an invalid value.
- ERR_
INVALID_ REGEX - A custom regex pattern in config.toml failed to compile.
- ERR_
MISSING_ CONFIG_ FIELD - A required configuration field is absent and has no default.
- ERR_
PORT_ IN_ USE - The selected port is already in use by another process.
- ERR_
UNKNOWN_ AGENT - Unknown or unsupported agent type in an incoming event.
- ERR_
VERSION_ OUTDATED - A newer version of openlatch is available (warning, non-blocking).