documentation/Reference/Exit codes and error codes/Check error codes.md
These error codes may be returned when running check changes or check drift.
PLUGIN_CHECK_MISSING_BUILD_TARGETcheck changes or check drift operationcheck changes requires a buildEnvironment or deployedSnapshot to be specified. check drift requires a buildEnvironment or nextSnapshot to be specified.CHECK_BUILD_NO_PROVISIONERprovisioner: "clean") or enable clean on the
build environment (environments.<environment name>.flyway.cleanDisabled: false).CHECK_DRIFT_DETECTEDcheck -drift detected differences between the expected state and the actual state of the target
database, and failOnDrift is enabled