Method: Fb::Error#error_code

Defined in:
ext/fb/fb_ext.c

#error_codeInteger

Returns the sqlcode associated with the error.

Returns:

  • (Integer)


2359
2360
2361
2362
2363
# File 'ext/fb/fb_ext.c', line 2359

static VALUE error_error_code(VALUE error)
{
  rb_p(error);
  return rb_iv_get(error, "error_code");
}