Exception: VMC::UserFriendlyError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/vmc/errors.rb

Direct Known Subclasses

UserError

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ UserFriendlyError

Returns a new instance of UserFriendlyError.



3
4
5
# File 'lib/vmc/errors.rb', line 3

def initialize(msg)
  @message = msg
end

Instance Method Details

#to_sObject



7
8
9
# File 'lib/vmc/errors.rb', line 7

def to_s
  @message
end