Exception: TemplateConfigurator::ServiceException
- Inherits:
-
Exception
- Object
- Exception
- TemplateConfigurator::ServiceException
- Defined in:
- lib/template_configurator/service.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#output ⇒ Object
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(msg, code, output = nil) ⇒ ServiceException
constructor
A new instance of ServiceException.
Constructor Details
#initialize(msg, code, output = nil) ⇒ ServiceException
Returns a new instance of ServiceException.
27 28 29 30 31 |
# File 'lib/template_configurator/service.rb', line 27 def initialize(msg, code, output = nil) @code = code @output = output super(msg) end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
26 27 28 |
# File 'lib/template_configurator/service.rb', line 26 def code @code end |
#output ⇒ Object
Returns the value of attribute output.
26 27 28 |
# File 'lib/template_configurator/service.rb', line 26 def output @output end |