Class SQLite3::Exception
In: lib/sqlite3/errors.rb
Parent: ::Exception

Methods

code   code  

Public Class methods

The numeric error code that this exception represents.

[Source]

    # File lib/sqlite3/errors.rb, line 41
41:     def self.code
42:       @code
43:     end

Public Instance methods

A convenience for accessing the error code for this exception.

[Source]

    # File lib/sqlite3/errors.rb, line 46
46:     def code
47:       self.class.code
48:     end

[Validate]