bundles / nbformat 5.11.1 / nbformat / validator / better_validation_error
function
nbformat.validator:better_validation_error
source: /nbformat/validator.py:223
Signature
def better_validation_error(error, version, version_minor)Summary
Get better ValidationError on oneOf failures
Extended Summary
oneOf errors aren't informative. if it's a cell type or output_type error, try validating directly based on the type for a better error message
Aliases
nbformat.validator.better_validation_error