SchemaIssue22
Models
AnyOfclassRepresents a schema issue produced when a value does not match any member of a union schema.CompositeclassRepresents a schema issue that groups multiple child issues under a single schema node.EncodingclassRepresents a schema issue produced when a schema transformation (encode/decode step) fails.FilterclassRepresents a schema issue produced when a schema filter (refinement check) fails.ForbiddenclassRepresents a schema issue produced when a forbidden operation is encountered during parsing, such as an asynchronous Effect running inside Schema.decodeUnknownSync.InvalidTypeclassRepresents a schema issue produced when the runtime type of the input does not match the type expected by the schema (e.g.InvalidValueclassRepresents a schema issue produced when the input has the correct type but its value violates a constraint (e.g.IssuetypeThe root discriminated union of all validation error nodes.LeaftypeUnion of all terminal (leaf) issue types that have no inner Issue children.MissingKeyclassRepresents a schema issue produced when a required key or tuple index is missing from the input.OneOfclassRepresents a schema issue produced when a value matches multiple members of a union that is configured to allow exactly one match (oneOf mode).PointerclassWraps an inner Issue with a property-key path, indicating where in a nested structure the error occurred.UnexpectedKeyclassRepresents a schema issue produced when an input object or tuple contains a key/index not declared by the schema.Guards
Getters
Formatter
CheckHooktypeCallback type used to format Filter issues into strings.defaultCheckHookconstReturns the built-in CheckHook used by default formatters.defaultLeafHookconstReturns the built-in LeafHook used by default formatters.FormatterinterfaceA function type that converts an Issue into a formatted representation.LeafHooktypeCallback type used to format Leaf issues into strings.makeFormatterDefaultfunctionCreates a Formatter that converts an Issue into a human-readable multi-line string.makeFormatterStandardSchemaV1functionCreates a Formatter that produces a StandardSchemaV1.FailureResult.