Exception: Carioca::Services::SpecificError
- Inherits:
-
StandardError
- Object
- StandardError
- Carioca::Services::SpecificError
- Defined in:
- lib/carioca/services/finisher.rb
Instance Attribute Summary collapse
-
#error_case ⇒ Object
readonly
Returns the value of attribute error_case.
Instance Method Summary collapse
-
#initialize(*arg, error_case: :status_ko) ⇒ SpecificError
constructor
A new instance of SpecificError.
Constructor Details
#initialize(*arg, error_case: :status_ko) ⇒ SpecificError
Returns a new instance of SpecificError.
9 10 11 12 |
# File 'lib/carioca/services/finisher.rb', line 9 def initialize(*arg, error_case: :status_ko) super(*arg) @error_case = error_case end |
Instance Attribute Details
#error_case ⇒ Object (readonly)
Returns the value of attribute error_case.
7 8 9 |
# File 'lib/carioca/services/finisher.rb', line 7 def error_case @error_case end |