(ns metabase.actions.error)

Error type for SQL unique constraint violation.

(def violate-unique-constraint
  ::violate-unique-constraint)

Error type for SQL not null constraint violation.

(def violate-not-null-constraint
  ::violate-not-null-constraint)

Error type for SQL foreign key constraint violation.

(def violate-foreign-key-constraint
  ::violate-foreign-key-constraint)

Error type for SQL incorrect value type.

(def incorrect-value-type
  ::incorrect-value-type)