| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > IJsonSchemaValidateOptions > customErrorHeader
A custom header that will be used to report schema errors.
Signature:
customErrorHeader?: string;If omitted, the default header is "JSON validation failed:". The error message starts with the header, followed by the full input filename, followed by the ajv error list. If you wish to customize all aspects of the error message, use JsonFile.loadAndValidateWithCallback() or JsonSchema.validateObjectWithCallback().