Exception: Mysql::Error

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

Instance Method Summary collapse

Instance Method Details

#errnoObject



2079
2080
2081
2082
# File 'ext/mysql.c', line 2079

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

#errorObject


Mysql::Error object method


2074
2075
2076
2077
# File 'ext/mysql.c', line 2074

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

#sqlstateObject



2084
2085
2086
2087
# File 'ext/mysql.c', line 2084

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