Skip to main content

Module error

Module error 

Source
Expand description

Central error type for UAR’s public API boundary.

UarError is the crate’s single error type for src/uar/api/ handlers going forward. It is intentionally additive: existing handlers that return the legacy (StatusCode, String) shape are unaffected and may migrate incrementally (see openspec/changes/central-uar-error-enum/). Each leaf carries a stable code string consumed by the SDKs for typed error matching — codes are part of the public API and MUST NOT change without a SemVer major bump.

Enums§

UarError
The crate’s central error type for the public API boundary.

Type Aliases§

Result
Convenience alias for Result<T, UarError>, exposed at the crate root as crate::Result<T>.