class
AzuCLI::Middleware::MigrationErrorHandler
- AzuCLI::Middleware::MigrationErrorHandler
- Reference
- Object
Overview
Handles migration errors with detailed reporting and remediation suggestions
Defined in:
azu_cli/middleware/migration_error_handler.crConstructors
Instance Method Summary
- #error_log_path : String
- #error_log_path=(error_log_path : String)
-
#handle_error(error : Exception, migration_name : String, migration_version : Int64) : String
Handle a migration error with detailed analysis
- #recovery_scripts_dir : String
- #recovery_scripts_dir=(recovery_scripts_dir : String)
Constructor Detail
def self.new(error_log_path : String = "./log/migration_errors.log", recovery_scripts_dir : String = "./tmp/migration_recovery")
#
Instance Method Detail
def handle_error(error : Exception, migration_name : String, migration_version : Int64) : String
#
Handle a migration error with detailed analysis