Re-exports§
pub use codes::SysErrorCode;pub use http_map::http_status_for_reason;pub use http_map::http_status_for_sys;pub use http_respond::ErrorResponse;pub use http_respond::build_error_response;pub use http_respond::error_response_json;pub use http_respond::error_response_text;pub use config_error::*;pub use parse_error::*;pub use run_error::*;
Modules§
- codes
- System-wide error code contract for wp-error. Provide a single place to convert domain reasons into stable numeric codes.
- config_
error - error_
handling - http_
map - Lightweight mapping from system error code (SysErrorCode) to HTTP status. This module is framework-agnostic and does not depend on any HTTP stack.
- http_
respond - Helpers to build consistent error responses (JSON/text) without coupling to any specific web framework.
- parse_
error - run_
error - util