tsParticles - v4.4.0
    Preparing search index...
    ErrorCodes: {
        engineVersionMismatch: "TSP-1001";
        hdrEnableInvalid: "TSP-1201";
        hdrModeInvalid: "TSP-1202";
        hdrPeakNitsInvalid: "TSP-1203";
        offscreenCanvasTransferFailed: "TSP-1102";
        offscreenCanvasUnsupported: "TSP-1101";
        particlePositionNotFound: "TSP-1002";
        pluginRegisterAfterLoad: "TSP-1003";
    } = ...

    Stable error codes owned by the engine.

    Codes are never reused after a release: each code maps to exactly one English message template in ErrorMessages and to one row on the website errors page (https://particles.js.org/errors/#TSP-xxxx).

    Plugins and other packages define their own catalogs (using their own ranges) and extend the runtime catalog with addErrorMessages.

    Ranges reserved for the engine:

    • TSP-100x — engine core
    • TSP-110x — canvas/offscreen
    • TSP-120x — options validation

    Type Declaration

    • ReadonlyengineVersionMismatch: "TSP-1001"

      Engine/plugin version mismatch (Engine checkVersion)

    • ReadonlyhdrEnableInvalid: "TSP-1201"

      Invalid HDR "enable" value (HDROptions)

    • ReadonlyhdrModeInvalid: "TSP-1202"

      Invalid HDR "mode" value (HDROptions)

    • ReadonlyhdrPeakNitsInvalid: "TSP-1203"

      Invalid HDR "peakNits" value (HDROptions)

    • ReadonlyoffscreenCanvasTransferFailed: "TSP-1102"

      The OffscreenCanvas transfer failed (CanvasManager)

    • ReadonlyoffscreenCanvasUnsupported: "TSP-1101"

      The browser does not support OffscreenCanvas (CanvasManager)

    • ReadonlyparticlePositionNotFound: "TSP-1002"

      A valid particle position cannot be found (Particle)

    • ReadonlypluginRegisterAfterLoad: "TSP-1003"

      Plugins can only be registered before tsParticles.load() (PluginManager)