A rejected input value as a message shows it: a string as quoteValue quotes it
(JSON-quoted, so "2" doesn't read like the number 2, invisible characters escaped), other
values JSON-encoded, String() for what JSON can't show (undefined, a symbol, a bigint, a
function), and cut to MAX_MESSAGE_VALUE_LENGTH.
A rejected input value as a message shows it: a string as quoteValue quotes it (JSON-quoted, so
"2"doesn't read like the number 2, invisible characters escaped), other values JSON-encoded,String()for what JSON can't show (undefined, a symbol, a bigint, a function), and cut to MAX_MESSAGE_VALUE_LENGTH.