Exception: RequestParamsValidation::DefinitionNotFoundError

Inherits:
DefinitionsError show all
Defined in:
lib/request_params_validation/exceptions/definitions_errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(resource, action) ⇒ DefinitionNotFoundError

Returns a new instance of DefinitionNotFoundError.



5
6
7
8
9
10
# File 'lib/request_params_validation/exceptions/definitions_errors.rb', line 5

def initialize(resource, action)
  msg = "The request definition for the resource '#{resource}' and action '#{action}' " \
        "couldn't be found"

  super(msg)
end