Exception: CF::UserFriendlyError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ UserFriendlyError

Returns a new instance of UserFriendlyError.


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

def initialize(msg)
  @message = msg
end

Instance Method Details

#to_sObject


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

def to_s
  @message
end