Create a custom error for data validation error scenario
error metadata will include expected
and found
values.
error message
expected value
value found
Optional
cause: any = {}source error (if any)
Optional
causeadditional metadata (if any)
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stack
SPDX-License-Identifier: Apache-2.0