schema-components - v3.7.0
    Preparing search index...

    Class SchemaError

    Base class for every schema-components error. Catch this to handle any library error uniformly.

    Forwards the optional cause to the native ES2022 Error constructor so error.cause is wired up by the runtime and rendered correctly by util.inspect ("Caused by: ..."). Subclasses that need a typed cause field still get it via the platform's own Error.cause getter.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    schema: unknown

    The schema input that caused the error.