Exception: Sequel::IBMDB::Connection::Error
- Defined in:
- lib/sequel/adapters/ibmdb.rb
Overview
Error class for exceptions raised by the connection.
Instance Attribute Summary collapse
-
#sqlstate ⇒ Object
readonly
Returns the value of attribute sqlstate.
Instance Method Summary collapse
-
#initialize(message, sqlstate) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, sqlstate) ⇒ Error
Returns a new instance of Error.
39 40 41 42 |
# File 'lib/sequel/adapters/ibmdb.rb', line 39 def initialize(, sqlstate) @sqlstate = sqlstate super() end |
Instance Attribute Details
#sqlstate ⇒ Object (readonly)
Returns the value of attribute sqlstate.
37 38 39 |
# File 'lib/sequel/adapters/ibmdb.rb', line 37 def sqlstate @sqlstate end |