Exception: Compote::ServiceNotFoundError
- Defined in:
- lib/compote/error.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(service:, config:) ⇒ ServiceNotFoundError
constructor
A new instance of ServiceNotFoundError.
Constructor Details
#initialize(service:, config:) ⇒ ServiceNotFoundError
Returns a new instance of ServiceNotFoundError.
102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/compote/error.rb', line 102 def initialize ( service:, config: ) @service = service @config = config = "Error extending service: Service \"#{ service }\" not found in config \"#{ config.file_name }\"." super end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
99 100 101 |
# File 'lib/compote/error.rb', line 99 def config @config end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
99 100 101 |
# File 'lib/compote/error.rb', line 99 def service @service end |