Exception: Glut::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Glut::Error
- Defined in:
- ext/gl/gl-error.c
Instance Attribute Summary collapse
- #id ⇒ Object readonly
Instance Method Summary collapse
- #initialize(message, error_id) ⇒ Object constructor
Constructor Details
#initialize(message, error_id) ⇒ Object
67 68 69 70 71 72 73 |
# File 'ext/gl/gl-error.c', line 67
VALUE GLError_initialize(VALUE obj,VALUE message, VALUE error_id)
{
rb_call_super(1, &message);
rb_iv_set(obj, "@id", error_id);
return obj;
}
|