Exception: Mysql::Error

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

Instance Method Summary collapse

Instance Method Details

#errnoObject



1873
1874
1875
1876
# File 'ext/mysql.c', line 1873

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

#errorObject


Mysql::Error object method


1868
1869
1870
1871
# File 'ext/mysql.c', line 1868

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

#sqlstateObject



1878
1879
1880
1881
# File 'ext/mysql.c', line 1878

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