1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
module Sequel
# Represents an error raised in Sequel code.
class Error < StandardError
# Error raised when an invalid statement is executed.
class InvalidStatement < Error; end
# Rollback is a special error used to rollback a transactions.
# A transaction block will catch this error and wont pass further up the stack.
class Rollback < Error ; end
# Represents an invalid value stored in the database.
class InvalidValue < Error ; end
# Represents an Invalid transform.
class InvalidTransform < Error ; end
# Raised on an invalid operation.
class InvalidOperation < Error; end
# Represents an Invalid filter.
class InvalidFilter < Error ; end
class InvalidExpression < Error; end
# Represents an attempt to performing filter operations when no filter has been specified yet.
class NoExistingFilter < Error ; end
# Represents an invalid join type.
class InvalidJoinType < Error ; end
class WorkerStop < RuntimeError ; end
# Raised when Sequel is unable to load a specified adapter.
class AdapterNotFound < Error ; end
end
end
|