Exception: Meta::Errors::ParameterInvalid

Inherits:
JsonSchema::ValidationErrors show all
Defined in:
lib/meta/errors.rb

Instance Attribute Summary

Attributes inherited from JsonSchema::ValidationErrors

#errors

Instance Method Summary collapse

Methods inherited from JsonSchema::ValidationErrors

#prepend_root

Constructor Details

#initialize(errors) ⇒ ParameterInvalid

Returns a new instance of ParameterInvalid.



10
11
12
# File 'lib/meta/errors.rb', line 10

def initialize(errors)
  super(errors, "参数异常:#{errors}")
end