@Deprecated public interface ErrorHandlerDeprecated.ErrorHandlers have been deprecated and will be removed in Flyway 6.0 use statement-level callbacks instead.Handler for warnings and errors that occur during a migration. This can be used to customize Flyway's behavior by for example throwing another runtime exception, outputting a warning or suppressing the error instead of throwing a FlywayException.
Flyway Pro and Flyway Enterprise only
boolean handle(Context context)Deprecated.Handles warnings and errors that occurred during a migration.
context- The context.
trueif they were handled,
falseif they weren't and Flyway should fall back to its default handling.