Skip to main content

Module error

Module error 

Source
Expand description

Error handling for lib-Q

This module defines the error types used throughout the library.

Enums§

Error
The error type for lib-Q operations
HexDecodeError
Why hexadecimal decoding failed (Error::HexDecode, crate::api::Utils::hex_to_bytes).

Constants§

SECURITY_LEVELS
Security levels supported by lib-Q

Functions§

is_supported_security_level
Check if a security level is supported
supported_security_levels
Get supported security levels as a Vec (for Error construction)

Type Aliases§

Result
Result type for lib-Q operations