Exception: Postsvg::TranslationError
- Defined in:
- lib/postsvg/errors.rb
Overview
SVG -> PS translation failed.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#element_name ⇒ Object
readonly
Returns the value of attribute element_name.
Instance Method Summary collapse
-
#initialize(message, element_name: nil) ⇒ TranslationError
constructor
A new instance of TranslationError.
Constructor Details
#initialize(message, element_name: nil) ⇒ TranslationError
Returns a new instance of TranslationError.
52 53 54 55 |
# File 'lib/postsvg/errors.rb', line 52 def initialize(, element_name: nil) @element_name = element_name super() end |
Instance Attribute Details
#element_name ⇒ Object (readonly)
Returns the value of attribute element_name.
50 51 52 |
# File 'lib/postsvg/errors.rb', line 50 def element_name @element_name end |