Exception: Decouplio::Errors::ResqErrorClassError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/decouplio/errors/resq_error_class_error.rb

Instance Method Summary collapse

Methods inherited from BaseError

#initialize, #message

Constructor Details

This class inherits a constructor from Decouplio::Errors::BaseError

Instance Method Details

#interpolation_valuesObject



13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/decouplio/errors/resq_error_class_error.rb', line 13

def interpolation_values
  [
    format(
      Decouplio::Const::Validations::Resq::INVALID_ERROR_CLASS_VALUE,
      @errored_option
    ),
    format(
      Decouplio::Const::Validations::Resq::WRONG_ERROR_CLASS,
      @details
    ),
    Decouplio::Const::Validations::Resq::ALLOWED_OPTIONS_MESSAGE,
    Decouplio::Const::Validations::Resq::MANUAL_URL
  ]
end

#templateObject



9
10
11
# File 'lib/decouplio/errors/resq_error_class_error.rb', line 9

def template
  Decouplio::Const::Validations::Resq::VALIDATION_ERROR_MESSAGE
end