Variable CORJ_EXPECTED_VALUESConst
CORJ_EXPECTED_VALUES: Readonly<{
as_json: Readonly<{}>;
as_json_format: "safe-stable-stringify-with-length-limit";
as_string_format: "String";
children_sources: readonly string[];
instanceof_error: true;
typeof: "object";
}> = ...
Type declaration
Readonly as_json: Readonly<{}>
Readonly as_json_format: "safe-stable-stringify-with-length-limit"
Readonly as_string_format: "String"
Readonly children_sources: readonly string[]
Readonly instanceof_error: true
Readonly typeof: "object"
Values that a report field is expected to hold most of the time.
When
omitExpectedValuesis enabled (the default), a field holding its expected value is left out of the report, and a reader must treat a missing field as holding the expected value.as_stringhas no fixed expected value: it is omitted when it equals the first line ofstack, which is whatError.prototype.toStringproduces.constructor_nameandmessageare omitted together withas_stringwhen that line is exactly${constructor_name}: ${message}(orconstructor_namealone for an empty message), see parseStackHeader.