Exception: Angus::Remote::ServiceConfigurationNotFound
- Inherits:
-
Exception
- Object
- Exception
- Angus::Remote::ServiceConfigurationNotFound
- Defined in:
- lib/angus/remote/exceptions.rb
Instance Method Summary collapse
-
#initialize(code_name, version = nil) ⇒ ServiceConfigurationNotFound
constructor
A new instance of ServiceConfigurationNotFound.
- #message ⇒ Object
Constructor Details
#initialize(code_name, version = nil) ⇒ ServiceConfigurationNotFound
Returns a new instance of ServiceConfigurationNotFound.
61 62 63 64 |
# File 'lib/angus/remote/exceptions.rb', line 61 def initialize(code_name, version = nil) @code_name = code_name @version = version end |
Instance Method Details
#message ⇒ Object
66 67 68 69 70 71 72 |
# File 'lib/angus/remote/exceptions.rb', line 66 def if @version "Config for #@code_name v#@version not found." else "Config for #@code_name not found." end end |