opensensemap-client
    Preparing search index...

    Class StructError

    StructError objects are thrown (or returned) when validation fails.

    Validation logic is design to exit early for maximum performance. The error represents the first error encountered during validation. For more detail, the error.failures property is a generator function that can be run to continue validation and receive all the failures in the data.

    Hierarchy (View Summary)

    Indexable

    • [x: string]: any
    Index

    Constructors

    Properties

    branch: any[]
    cause?: unknown
    failures: () => Failure[]
    key: any
    message: string
    name: string
    path: any[]
    refinement: undefined | string
    stack?: string
    type: string
    value: any