signify-ts
    Preparing search index...

    Interface ParseError

    A framing failure, with a stable code, the byte position, and its permanence.

    interface ParseError {
        code: ParseErrorCode;
        message: string;
        permanent: boolean;
        span: ByteSpan;
    }
    Index

    Properties

    message: string
    permanent: boolean

    False only for incomplete, the one failure more bytes can cure. Every other code is a verdict on bytes that are all present, and the parser is pure, so re-parsing them fails identically. A caller feeding a growing buffer must branch on this: wait, or give up.

    span: ByteSpan