ConstReadonlyengineVersionMismatch: "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)
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 coreTSP-110x— canvas/offscreenTSP-120x— options validation