class SQLite3::Exception

Public Class Methods

code() click to toggle source

The numeric error code that this exception represents.

# File lib/sqlite3/constants.rb, line 38
def self.code
  @code
end

Public Instance Methods

code() click to toggle source

A convenience for accessing the error code for this exception.

# File lib/sqlite3/constants.rb, line 43
def code
  self.class.code
end