Skip to main content

Module errors

Module errors 

Source
Expand description

Error types for tsafe-core.

All fallible public functions return SafeResult<T>, which is an alias for Result<T, SafeError>. Callers can match on specific variants for structured error handling or surface the Display message (derived by thiserror) for user-facing output.

Enums§

SafeError
Top-level error type for all tsafe-core operations.

Type Aliases§

SafeResult
Convenience alias for Result<T, SafeError>.