Exception: UsageMod::IOInputError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uri, msg) ⇒ IOInputError

Returns a new instance of IOInputError.



122
123
124
125
# File 'lib/Usage.rb', line 122

def initialize(uri, msg)
	@uri = uri
	super("error opening input: '#{uri}' because #{msg}")
end

Instance Attribute Details

#msgObject (readonly)

Returns the value of attribute msg.



121
122
123
# File 'lib/Usage.rb', line 121

def msg
  @msg
end

#uriObject (readonly)

Returns the value of attribute uri.



121
122
123
# File 'lib/Usage.rb', line 121

def uri
  @uri
end