Standardized error codes for file upload/download operations.
These represent common, recoverable errors that an LLM can understand and potentially fix:
FileOperationError = Literal['file_not_found', 'permission_denied', 'is_directory', 'invalid_path']