Truncating ParseError Output to Display Only Initial Characters
I have a schema that describes an object which may contain a field with a very long value.
Is it possible to make the ParseError show not the entire original text of the source message, but only its beginning, for example?
I read that there is a type in Effect that allows hiding sensitive data from being printed to the console. I need a type that would output to the console, but only the first 50 characters of the text, for example.
The log message is too long
Is it possible to make the ParseError show not the entire original text of the source message, but only its beginning, for example?
I read that there is a type in Effect that allows hiding sensitive data from being printed to the console. I need a type that would output to the console, but only the first 50 characters of the text, for example.
The log message is too long

