Skip to main content

Module error_messages

Module error_messages 

Source
Expand description

Consolidated error messages to eliminate duplication across codebase

Re-exports from vtcode-commons for backward compatibility.

Structs§

DisplayErrorFormatter
Default formatter that surfaces the error’s display output.
NoopErrorReporter
Error reporting implementation that drops every event. Useful for tests or when a consumer does not yet integrate with error monitoring.

Constants§

ERR_CANONICALIZE_PATH
ERR_CREATE_AUDIT_DIR
ERR_CREATE_CHECKPOINT_DIR
ERR_CREATE_DIR
ERR_CREATE_IPC_DIR
ERR_CREATE_POLICY_DIR
ERR_CREATE_SKILLS_DIR
ERR_CREATE_SKILL_DIR
ERR_CREATE_WORKSPACE_POLICY_DIR
ERR_DELETE_SKILL
ERR_DESERIALIZE
ERR_GET_FILE_TYPE
ERR_GET_METADATA
ERR_PARSE_ARGS
ERR_PARSE_REQUEST_JSON
ERR_PARSE_RESULT
ERR_PARSE_SKILL_METADATA
ERR_READ_CHECKPOINT
ERR_READ_DIR
ERR_READ_DIR_ENTRY
ERR_READ_FILE
ERR_READ_REQUEST_FILE
ERR_READ_REQUEST_JSON
ERR_READ_SKILLS_DIR
ERR_READ_SKILL_CODE
ERR_READ_SKILL_METADATA
ERR_READ_SYMLINK
ERR_REMOVE_DIR
ERR_REMOVE_FILE
ERR_SERIALIZE_METADATA
ERR_SERIALIZE_STATE
ERR_TOOL_DENIED
ERR_WRITE_AUDIT_LOG
ERR_WRITE_CHECKPOINT
ERR_WRITE_FILE
ERR_WRITE_SKILL_CODE
ERR_WRITE_SKILL_DOCS
ERR_WRITE_SKILL_METADATA

Traits§

ErrorFormatter
Formats an error into a user-facing description. This allows extracted components to present consistent error messaging without depending on the CLI presentation layer.
ErrorReporter
Reports non-fatal errors to an observability backend.