Module file_error

Module file_error 

Source
Expand description

Structured file system error handling for AGPM

This module provides better error handling for file operations by capturing context at the operation site rather than parsing error messages.

Structs§

FileOperationContext
Detailed file operation context for better error messages
FileOperationError
Enhanced file operation error with full context
FileOps
Convenience functions for common file operations with context

Enums§

FileOperation
Types of file operations

Constants§

LARGE_FILE_SIZE
Large file size for testing and production use (1MB in bytes)

Traits§

FileResultExt
Extension trait for Result types to add file operation context