Thrown when a value cannot be converted to a schema using valueToSchema().
valueToSchema()
Currently, this includes the presence of an own property __proto__ or an empty object (because this will match anything; though maybe we should change that).
__proto__
Static
Readonly
Thrown when a value cannot be converted to a schema using
valueToSchema().Remarks
Currently, this includes the presence of an own property
__proto__or an empty object (because this will match anything; though maybe we should change that).