MigrationException
class MigrationException(val reason: MigrationExceptionReason, val details: String? = null, cause: Throwable? = null) : OctaviusException
Exception thrown when a migration run cannot go on.
It carries no sqlState: where the server said something - a lock wait that ran out, a statement of a migration it refused - its exception is the cause. Where the migrator has no opinion - the history table failing to be read, a connection dying mid-run - the driver's own exception comes through instead.
Parameters
cause
The failure underneath, where this one is standing in front of another.