Skip to main content

Module error

Module error 

Source
Expand description

Unified error types

This module uses thiserror to provide a unified ApiError type for the crate and exports a convenient Result<T> alias. The goal is to centralize disparate error sources (for example, Box<dyn Error>, reqwest::Error, serde_json::Error) into a single ApiError so that ? conversions are simpler and error messages are more consistent.

Enums§

ApiError
Unified error type covering common error sources and including a generic string variant for easy conversions.

Type Aliases§

Result
Common Result alias used throughout the crate.