Exception: VMC::UserError

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

Direct Known Subclasses

NotAuthorized

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ UserError

Returns a new instance of UserError.



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