Exception: Gl::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Gl::Error
- Defined in:
- ext/opengl/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
75 76 77 78 79 80 81 |
# File 'ext/opengl/gl-error.c', line 75
VALUE GLError_initialize(VALUE obj,VALUE message, VALUE error_id)
{
rb_call_super(1, &message);
rb_iv_set(obj, "@id", error_id);
return obj;
}
|