Exception: Mysql::Error

Inherits:
StandardError
  • Object
show all
Defined in:
ext/mysql.c

Instance Method Summary collapse

Instance Method Details

#errnoObject



1895
1896
1897
1898
# File 'ext/mysql.c', line 1895

static VALUE error_errno(VALUE obj)
{
    return rb_iv_get(obj, "errno");
}

#errorObject


Mysql::Error object method


1890
1891
1892
1893
# File 'ext/mysql.c', line 1890

static VALUE error_error(VALUE obj)
{
    return rb_iv_get(obj, "mesg");
}

#sqlstateObject



1900
1901
1902
1903
# File 'ext/mysql.c', line 1900

static VALUE error_sqlstate(VALUE obj)
{
    return rb_iv_get(obj, "sqlstate");
}