Sha256: 4ba9e80fc923325fe3f7e5a6d7877af7a39e77e45792b43d895639350796abc3
Contents?: true
Size: 1.6 KB
Versions: 2
Compression:
Stored size: 1.6 KB
Contents
module Sequel # Represents an error raised in Sequel code. class Error < ::StandardError # Raised when Sequel is unable to load a specified adapter. class AdapterNotFound < Error ; end # Raised on an invalid operation. class InvalidOperation < Error; end # Error raised when an invalid statement is executed. class InvalidStatement < Error; end # Represents an Invalid transform. class InvalidTransform < Error ; end # Represents an invalid value stored in the database. class InvalidValue < Error ; end # Represents an attempt to performing filter operations when no filter has been specified yet. class NoExistingFilter < Error ; end # There was an error while waiting on a connection from the connection pool class PoolTimeoutError < Error ; end # Rollback is a special error used to rollback a transactions. # A transaction block will catch this error and won't pass further up the stack. class Rollback < Error ; end end # Generic error raised by the database adapters, indicating a # problem originating from the database server. class DatabaseError < Error; end # Error that should be raised by adapters when they determine that the connection # to the database has been lost. Instructs the connection pool code to # remove that connection from the pool so that other connections can be acquired # automatically. class DatabaseDisconnectError < DatabaseError; end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sequel-2.8.0 | lib/sequel_core/exceptions.rb |
sequel-2.9.0 | lib/sequel_core/exceptions.rb |