A type checking error.
Creates a type check error from an object payload. Prefer the object form; the positional form is kept for backwards compatibility.
Readonly
Optional
Throws the type check error as an actual error.
A type checking error.