Creates an instance of ESPValidationError
.
The error code corresponding to a specific validation error message
from validationErrorMessages
.
Optional
causeThe specific error code associated with the error.
A label to classify the error type.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stack
Represents a validation error encountered during input validation or processing.
This class is used to handle errors related to invalid or missing parameters. It extends
ESPBaseError
to provide a structured error-handling mechanism.