Exception: VMC::UserFriendlyError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- VMC::UserFriendlyError
- Defined in:
- lib/vmc/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg) ⇒ UserFriendlyError
constructor
A new instance of UserFriendlyError.
- #to_s ⇒ Object
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_s ⇒ Object
7 8 9 |
# File 'lib/vmc/errors.rb', line 7 def to_s @message end |