GeneralError type
The property error wrapper for the parser. Keys:
key
- key of invalid property.error
- an error object. Can be PropertyError or ObjectError.
Usage example:
typescript
const obj: GeneralError = {
key: 'propertyKey',
error: {...}, // PropertyError or ObjectError
}