icat_esrf_definitions.tests.validation_error.build_validation_error_dict#

icat_esrf_definitions.tests.validation_error.build_validation_error_dict(input_value, error, pydantic_location, err_type='value_error')[source]#
Parameters:
  • input_value (Any)

  • error (Exception)

  • pydantic_location (Tuple[str, ...])

  • err_type (str)

Return type:

List[Dict[str, Any]]