Exception: Sequel::SqlAnywhere::SQLAnywhereException
- Defined in:
- lib/sequel/adapters/sqlanywhere.rb
Instance Attribute Summary collapse
-
#errno ⇒ Object
readonly
Returns the value of attribute errno.
-
#sql ⇒ Object
readonly
Returns the value of attribute sql.
Instance Method Summary collapse
-
#initialize(message, errno, sql) ⇒ SQLAnywhereException
constructor
A new instance of SQLAnywhereException.
Constructor Details
#initialize(message, errno, sql) ⇒ SQLAnywhereException
Returns a new instance of SQLAnywhereException.
13 14 15 16 17 |
# File 'lib/sequel/adapters/sqlanywhere.rb', line 13 def initialize(, errno, sql) super() @errno = errno @sql = sql end |
Instance Attribute Details
#errno ⇒ Object (readonly)
Returns the value of attribute errno.
10 11 12 |
# File 'lib/sequel/adapters/sqlanywhere.rb', line 10 def errno @errno end |
#sql ⇒ Object (readonly)
Returns the value of attribute sql.
11 12 13 |
# File 'lib/sequel/adapters/sqlanywhere.rb', line 11 def sql @sql end |