Exception: Gl::Error

Inherits:
StandardError
  • Object
show all
Defined in:
ext/opengl/gl-error.c

Instance Attribute Summary collapse

Instance Method Summary collapse

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;
}

Instance Attribute Details

#idObject (readonly)