Exception: Plurimath::Omml::UnsupportedNodeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/plurimath/errors/omml/unsupported_node_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(node) ⇒ UnsupportedNodeError

Returns a new instance of UnsupportedNodeError.



6
7
8
9
# File 'lib/plurimath/errors/omml/unsupported_node_error.rb', line 6

def initialize(node)
  @node = node
  super(message)
end

Instance Method Details

#messageObject



11
12
13
# File 'lib/plurimath/errors/omml/unsupported_node_error.rb', line 11

def message
  "[plurimath] Unsupported OMML typed node: #{@node.class}"
end