Exception: Sequel::IBMDB::Connection::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sequel/adapters/ibmdb.rb

Overview

Error class for exceptions raised by the connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, sqlstate) ⇒ Error


34
35
36
37
# File 'lib/sequel/adapters/ibmdb.rb', line 34

def initialize(message, sqlstate)
  @sqlstate = sqlstate
  super(message)
end

Instance Attribute Details

#sqlstateObject (readonly)

Returns the value of attribute sqlstate


32
33
34
# File 'lib/sequel/adapters/ibmdb.rb', line 32

def sqlstate
  @sqlstate
end