Exception: Glslkit::WebGL::LinkError

Inherits:
ShaderError show all
Defined in:
lib/glslkit/webgl/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw_log) ⇒ LinkError

Returns a new instance of LinkError.



33
34
35
36
# File 'lib/glslkit/webgl/errors.rb', line 33

def initialize(raw_log)
  @raw_log = raw_log.to_s
  super(@raw_log)
end

Instance Attribute Details

#raw_logObject (readonly)

Returns the value of attribute raw_log.



31
32
33
# File 'lib/glslkit/webgl/errors.rb', line 31

def raw_log
  @raw_log
end