Exception: Postsvg::RenderError

Inherits:
Error
  • Object
show all
Defined in:
lib/postsvg/errors.rb

Overview

PS -> SVG execution failed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, operator_name: nil) ⇒ RenderError

Returns a new instance of RenderError.



29
30
31
32
# File 'lib/postsvg/errors.rb', line 29

def initialize(message, operator_name: nil)
  @operator_name = operator_name
  super(message)
end

Instance Attribute Details

#operator_nameObject (readonly)

Returns the value of attribute operator_name.



27
28
29
# File 'lib/postsvg/errors.rb', line 27

def operator_name
  @operator_name
end