Class: ConfigOMat::Op::ReportFailure
- Inherits:
-
LifecycleVM::OpBase
- Object
- LifecycleVM::OpBase
- ConfigOMat::Op::ReportFailure
- Defined in:
- lib/config_o_mat/flip_flopper/op/report_failure.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/config_o_mat/flip_flopper/op/report_failure.rb', line 24 def call case activation_status when :failed error :service, 'failed to start service instance' when :timed_out error :service, 'service instance did not start within timeout' else error :service, "service instance failed due to an unknown error (#{activation_status})" end end |