Error

data class Error(val error: Throwable, val step: MigrationStep) : MigrationProgress

Migration failed with an error.

This progress event is emitted when a migration step throws an exception during execution. The migration process stops immediately when an error occurs, and no further steps are executed.

Error Context:

The Error state provides both the exception that caused the failure and the specific step where the error occurred, enabling precise error handling and debugging.

@param error The exception that caused the migration to fail
@param step The MigrationStep where the error occurred, providing context for debugging

Constructors

Link copied to clipboard
constructor(error: Throwable, step: MigrationStep)

Properties

Link copied to clipboard
Link copied to clipboard