Skip to main content

Module error

Module error 

Source
Expand description

Crate-wide error type for the gettext-mcp server.

Merges what used to live in store.rs as separate ParseError and StoreError enums into a single GettextError so every layer (parser, serializer, file I/O, store, MCP tools) can speak the same error vocabulary.

Enums§

GettextError
Unified error type returned by the parser, serializer, file I/O, store, and MCP tool layers.

Type Aliases§

ParseError
Backwards-compatible alias for code paths (and tests) that still spell the parser error as ParseError. Both names point at the same enum.
StoreError
Backwards-compatible alias for the pre-refactor StoreError name.