Exception: Moxml::InvalidOptionsError

Inherits:
SerializationError show all
Defined in:
lib/moxml/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, options) ⇒ InvalidOptionsError

Returns a new instance of InvalidOptionsError.



111
112
113
114
# File 'lib/moxml/errors.rb', line 111

def initialize(message, options)
  @options = options
  super("#{message} (Options: #{options})")
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



109
110
111
# File 'lib/moxml/errors.rb', line 109

def options
  @options
end