Exception: Zeno::ApplicationAlreadyExistsError
- Inherits:
-
StandardError
- Object
- StandardError
- Zeno::ApplicationAlreadyExistsError
- Defined in:
- lib/zeno/applicationalreadyexistserror.rb
Instance Attribute Summary collapse
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ ApplicationAlreadyExistsError
constructor
A new instance of ApplicationAlreadyExistsError.
- #message ⇒ Object
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
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
21 22 23 |
# File 'lib/zeno/applicationalreadyexistserror.rb', line 21 def msg @msg end |
Instance Method Details
#message ⇒ Object
28 29 30 |
# File 'lib/zeno/applicationalreadyexistserror.rb', line 28 def @msg end |