Exception: Carioca::Services::SpecificError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/carioca/services/finisher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_caseObject (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