Exception: Moxml::IOError

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

Overview

IO errors

Direct Known Subclasses

FileNotFoundError, WriteError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, path) ⇒ IOError

Returns a new instance of IOError.



121
122
123
124
# File 'lib/moxml/errors.rb', line 121

def initialize(message, path)
  @path = path
  super("#{message} (Path: #{path})")
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



119
120
121
# File 'lib/moxml/errors.rb', line 119

def path
  @path
end