How to report outer errors as well? #667
Answered
by
fabian-hiller
HugeLetters
asked this question in
Q&A
-
I have this schema const EncryptedDataSchema = v.strictTuple(
[HexStringBufferSchema, HexStringBufferSchema, HexStringBufferSchema],
'Encrypted data must consist of only 3 hex string segments separated by a colon(:)',
); If a 2nd element in the tuple will be invalid - I'll get the error about it. I saw you can set a message with config but it changes the message alltogether. |
Beta Was this translation helpful? Give feedback.
Answered by
fabian-hiller
Jun 20, 2024
Replies: 1 comment 2 replies
-
Can you send me a playground link and tell me the current and expected behavior? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is only possible with our low level API
rawCheck
. Here is an example.