Exception: Mysql::Error

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

Instance Method Summary collapse

Instance Method Details

#errnoObject



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

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

#errorObject


Mysql::Error object method


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

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

#sqlstateObject



1884
1885
1886
1887
# File 'ext/mysql.c', line 1884

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