Class: SQLite3::Exception

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

Methods

- code
- code

Public Class methods
code()

The numeric error code that this exception represents.

[ show source ]

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

Public Instance methods
code()

A convenience for accessing the error code for this exception.

[ show source ]

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

[Validate]