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.
41 42 43 44 |
# File 'lib/sequel/adapters/ibmdb.rb', line 41 def initialize(, sqlstate) @sqlstate = sqlstate super() end |
Instance Attribute Details
#sqlstate ⇒ Object (readonly)
Returns the value of attribute sqlstate.
39 40 41 |
# File 'lib/sequel/adapters/ibmdb.rb', line 39 def sqlstate @sqlstate end |