Exception: ArJdbcMySQL::Error
- Inherits:
-
StandardError
- Object
- StandardError
- ArJdbcMySQL::Error
- Defined in:
- lib/active_record/railties/jdbcmysql_error.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#error_number ⇒ Object
(also: #errno)
:nodoc:.
-
#sql_state ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#initialize(msg) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg) ⇒ Error
Returns a new instance of Error.
6 7 8 9 10 |
# File 'lib/active_record/railties/jdbcmysql_error.rb', line 6 def initialize(msg) super @error_number = nil @sql_state = nil end |
Instance Attribute Details
#error_number ⇒ Object Also known as: errno
:nodoc:
4 5 6 |
# File 'lib/active_record/railties/jdbcmysql_error.rb', line 4 def error_number @error_number end |
#sql_state ⇒ Object
:nodoc:
4 5 6 |
# File 'lib/active_record/railties/jdbcmysql_error.rb', line 4 def sql_state @sql_state end |