Skip to main content

Crate orion_error

Crate orion_error 

Source

Modules§

compat_prelude
Compatibility wildcard imports for legacy conversion APIs.
compat_traits
Compatibility trait exports for legacy conversion helpers.
prelude
V1 primary-path traits and types for convenient wildcard imports.
traits_ext
Grouped conversion and context extension traits.
types
Grouped core types and enums.

Macros§

location
op_context
在调用处展开 module_path!(),便于自动日志输出正确的模块路径。

Structs§

ErrorMetadata
ErrorReport
OperationContext
OperationScope
RawSource
SourceFrame
StructError
Structured error type containing detailed error information including error source, contextual data, and debugging information.
StructErrorBuilder

Enums§

ConfErrReason
Configuration error sub-classification 配置错误子分类
ErrStrategy
MetadataValue
RenderMode
UvsReason
Universal error reason classification with clear hierarchical structure 统一错误原因分类 - 采用清晰的分层结构

Traits§

ContextRecord
ConvStructError
DomainReason
ErrorCode
ErrorConv
ErrorOwe
ErrorOweBase
ErrorOweSource
ErrorOweSourceBase
ErrorWith
ErrorWrap
ErrorWrapAs
IntoAs
RawStdError
Marker trait for explicitly opt-in raw std::error::Error sources.
RedactPolicy
StructErrorTrait
TestAssert
TestAssertWithMsg
ToStructError
UvsFrom
Unified constructor helpers for types that can be converted from UvsReason.
WrapStructError
WrapStructErrorAs

Functions§

print_error
print_error_zh
raw_source
Explicitly mark an opt-in raw std::error::Error as an unstructured source.

Type Aliases§

WithContext