mimekit-ts - v1.0.0
    Preparing search index...

    Interface MimeError

    A structured, non-throwing error. kind is a stable machine-readable discriminator (kebab-case); offset is the byte/char index into the input where the problem was detected, when known.

    interface MimeError {
        kind: string;
        message: string;
        offset?: number;
        cause?: MimeError;
    }

    Hierarchy (View Summary)

    Index
    kind: string

    Stable machine-readable discriminator, usually kebab-case.

    message: string

    Human-readable error message.

    offset?: number

    Byte or character offset where the problem was detected, when known.

    cause?: MimeError

    Underlying structured cause, when a parser layers errors.