Exception: Sequel::SqlAnywhere::SQLAnywhereException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, errno, sql)
  super(message)
  @errno = errno
  @sql = sql
end

Instance Attribute Details

#errnoObject (readonly)

Returns the value of attribute errno.



10
11
12
# File 'lib/sequel/adapters/sqlanywhere.rb', line 10

def errno
  @errno
end

#sqlObject (readonly)

Returns the value of attribute sql.



11
12
13
# File 'lib/sequel/adapters/sqlanywhere.rb', line 11

def sql
  @sql
end