Exception: UnQLite::Exception

Inherits:
StandardError
  • Object
show all
Defined in:
lib/unqlite/errors.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.codeObject



5
6
7
# File 'lib/unqlite/errors.rb', line 5

def self.code
  @code
end

Instance Method Details

#codeObject



9
10
11
# File 'lib/unqlite/errors.rb', line 9

def code
  self.class.code
end