lib/rom/sql/errors.rb in rom-sql-1.3.5 vs lib/rom/sql/errors.rb in rom-sql-2.0.0.beta1

- old
+ new

@@ -10,9 +10,11 @@ UniqueConstraintError = Class.new(ConstraintError) ForeignKeyConstraintError = Class.new(ConstraintError) CheckConstraintError = Class.new(ConstraintError) UnknownDBTypeError = Class.new(StandardError) MissingPrimaryKeyError = Class.new(StandardError) + MigrationError = Class.new(StandardError) + UnsupportedConversion = Class.new(MigrationError) ERROR_MAP = { Sequel::DatabaseError => DatabaseError, Sequel::ConstraintViolation => ConstraintError, Sequel::NotNullConstraintViolation => NotNullConstraintError,