Exception: Mysql2::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Mysql2::Error
- Defined in:
- ext/mysql2_ext.c
Instance Method Summary collapse
Instance Method Details
#error_number ⇒ Object
673 674 675 |
# File 'ext/mysql2_ext.c', line 673 static VALUE rb_mysql_error_error_number(VALUE obj) { return rb_iv_get(obj, "error_number"); } |
#sql_state ⇒ Object
677 678 679 |
# File 'ext/mysql2_ext.c', line 677 static VALUE rb_mysql_error_sql_state(VALUE obj) { return rb_iv_get(obj, "sql_state"); } |