Exception: Decouplio::Errors::PalpValidationError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/decouplio/errors/palp_validation_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
# File 'lib/decouplio/errors/palp_validation_error.rb', line 13

def interpolation_values
  [
    Decouplio::Const::Validations::Palp::DOES_NOT_ALLOW_ANY_OPTION,
    Decouplio::Const::Validations::Palp::MANUAL_URL
  ]
end

#templateObject



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

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