Public Class methods
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
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