class AzuCLI::Middleware::MigrationErrorHandler

Overview

Handles migration errors with detailed reporting and remediation suggestions

Defined in:

azu_cli/middleware/migration_error_handler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(error_log_path : String = "./log/migration_errors.log", recovery_scripts_dir : String = "./tmp/migration_recovery") #

[View source]

Instance Method Detail

def error_log_path : String #

[View source]
def error_log_path=(error_log_path : String) #

[View source]
def handle_error(error : Exception, migration_name : String, migration_version : Int64) : String #

Handle a migration error with detailed analysis


[View source]
def recovery_scripts_dir : String #

[View source]
def recovery_scripts_dir=(recovery_scripts_dir : String) #

[View source]