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.



15
16
17
18
19
# File 'lib/sequel/adapters/sqlanywhere.rb', line 15

def initialize(message, errno, sql)
  super(message)
  @errno = errno
  @sql = sql
end

Instance Attribute Details

#errnoObject (readonly)

Returns the value of attribute errno.



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

def errno
  @errno
end

#sqlObject (readonly)

Returns the value of attribute sql.



13
14
15
# File 'lib/sequel/adapters/sqlanywhere.rb', line 13

def sql
  @sql
end