Implement centralized enhanced error handling

- Created MinIOErrorHandler utility with comprehensive error details
- Captures Message, ExceptionType, InnerException, StackTrace, Timestamp, Machine, ProcessId
- Provides detailed logging with Write-Warning for debugging
- Integrated with MinIOBaseCmdlet ExecuteOperation methods
- Fixed parameter name consistency (BucketName across all cmdlets)
- Supports both terminating and non-terminating error handling
- Automatic error category determination based on exception type

This addresses the requirement for centralized C# error handling that provides
detailed debugging information without requiring manual debug code additions.
This commit is contained in:
PSMinIO Developer
2025-07-11 14:53:41 -04:00
parent 396290e0e8
commit 140257d469
9 changed files with 379 additions and 36 deletions
+3 -2
View File
@@ -3,7 +3,7 @@
RootModule = 'bin\PSMinIO.dll'
# Version number of this module.
ModuleVersion = '2025.07.11.1421'
ModuleVersion = '2025.07.11.1453'
# Supported PSEditions
CompatiblePSEditions = @('Desktop', 'Core')
@@ -110,7 +110,7 @@
# ReleaseNotes of this module
ReleaseNotes = @'
## Version 2025.07.11.1421 - Enhanced Release
## Version 2025.07.11.1453 - Enhanced Release
### Major Features
- Complete Get-MinIOObject cmdlet with advanced filtering, sorting, and pagination
@@ -165,3 +165,4 @@ This release provides enterprise-grade functionality with professional documenta
Binary file not shown.