Skip to main content

Module error

Module error 

Source
Expand description

Unified error handling system for memscope-rs

This module provides a simplified, efficient error handling system that:

  • Reduces string cloning overhead using Arc<str>
  • Maintains all existing error information
  • Provides error recovery mechanisms
  • Ensures backward compatibility

Structs§

DefaultErrorRecovery
Default error recovery implementation
ErrorContext
Error context information for tracking and debugging

Enums§

ErrorKind
Error kind classification for error tracking and statistics
ErrorSeverity
Error severity levels
MemScopeError
Unified error type for the entire memscope-rs system
MemoryOperation
Memory operation types for better error categorization
RecoveryAction
Error recovery strategies
SystemErrorType
System error types

Traits§

ErrorRecovery
Error recovery trait for implementing recovery strategies

Type Aliases§

MemScopeResult
Result type alias for MemScopeError (alternative name)
Result
Result type alias for MemScopeError