Exception: Mysql::Error

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

Instance Method Summary collapse

Instance Method Details

#errnoObject



2376
2377
2378
2379
# File 'ext/mysql.c', line 2376

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

#errorObject


Mysql::Error object method


2371
2372
2373
2374
# File 'ext/mysql.c', line 2371

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

#sqlstateObject



2381
2382
2383
2384
# File 'ext/mysql.c', line 2381

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