class Sinatra::Rabbit::Validator::InvalidValue
Public Class Methods
new(param_def, current_value)
click to toggle source
Calls superclass method
Sinatra::Rabbit::Validator::ValidationError.new
# File lib/sinatra/rabbit/validator.rb, line 36 def initialize(param_def, current_value) super(400, "Parameter '%s' value '%s' not found in list of allowed values [%s]" % [param_def.name, current_value, param_def.values.join(',')] ) end