AniLink - v2.0.0
    Preparing search index...

    Class AniLinkError

    Base error for failures normalized by AniLink.

    Consumers can branch on AniLinkError.code without depending on the underlying Axios error or a provider's human-readable message.

    Hierarchy (View Summary)

    Index
    • Creates a sanitized AniLink error.

      Parameters

      • message: string

        A safe message intended for application logs.

      • code: AniLinkErrorCode

        The stable code used to classify the failure.

      • OptionalrawAxiosError: unknown

        The original Axios error when raw diagnostics are enabled.

      Returns AniLinkError

    Stable code used to classify the failure.

    rawAxiosError?: unknown

    Original Axios or transport error when raw diagnostics were enabled.