Creates an instance of ESPValidationError.
The error code corresponding to a specific validation error message
from validationErrorMessages.
OptionalcauseThe specific error code associated with the error.
A label to classify the error type.
OptionalstackStatic OptionalprepareOptional override for formatting stack traces
Staticstack
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
ESPBaseErrorto provide a structured error-handling mechanism.