Exception: Mysql::Error

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

Instance Method Summary collapse

Instance Method Details

#errnoObject



1871
1872
1873
1874
# File 'ext/mysql_api/mysql.c', line 1871

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

#errorObject


Mysql::Error object method


1866
1867
1868
1869
# File 'ext/mysql_api/mysql.c', line 1866

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

#sqlstateObject



1876
1877
1878
1879
# File 'ext/mysql_api/mysql.c', line 1876

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