Module error_adapter

Module error_adapter 

Source
Expand description

Error adapter for backward compatibility

This module provides adapters to maintain compatibility with existing code that uses the old TrackingError type while internally using the new unified MemScopeError system.

Structs§

DefaultErrorAdapter
Default implementation of ErrorAdapter

Traits§

ErrorAdapter
Adapter trait for converting between old and new error types

Functions§

adapt_result
Convert old TrackingResult to new Result type
from_tracking_error
Convenience functions for error conversion
to_tracking_error
to_tracking_result
Convert new Result to old TrackingResult for compatibility

Type Aliases§

AdaptedResult
Result type adapter for backward compatibility