n3-lib TypeScript API
    Preparing search index...

    Class N3Error

    Error raised when asset bytes or edited values violate a format contract.

    Hierarchy

    • Error
      • N3Error
    Index
    • Construct a diagnostic with a byte offset and field context.

      Parameters

      • message: string
      • offset: number = 0

      Returns N3Error

    cause?: unknown
    message: string
    name: string
    offset: number

    Byte offset at which validation failed.

    stack?: string