Exception: ApipieBindings::InvalidArgumentTypesError

Inherits:
ValidationError
  • Object
show all
Defined in:
lib/apipie_bindings/exceptions.rb

Instance Attribute Summary

Attributes inherited from ValidationError

#params

Instance Method Summary collapse

Methods inherited from ValidationError

#initialize

Constructor Details

This class inherits a constructor from ApipieBindings::ValidationError

Instance Method Details

#to_sObject


24
25
26
27
# File 'lib/apipie_bindings/exceptions.rb', line 24

def to_s
  preformated = params.map { |p| "#{p[0]} - #{p[1]} was expected" }
  "#{super}: #{preformated.join(', ')}"
end