Exception: Zeno::ApplicationAlreadyExistsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/zeno/applicationalreadyexistserror.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ ApplicationAlreadyExistsError

Returns a new instance of ApplicationAlreadyExistsError.



24
25
26
# File 'lib/zeno/applicationalreadyexistserror.rb', line 24

def initialize(msg = nil)
  @msg = msg || "The requested application name already exists!"
end

Instance Attribute Details

#msgObject (readonly)

Returns the value of attribute msg.



21
22
23
# File 'lib/zeno/applicationalreadyexistserror.rb', line 21

def msg
  @msg
end

Instance Method Details

#messageObject



28
29
30
# File 'lib/zeno/applicationalreadyexistserror.rb', line 28

def message
  @msg
end