tsParticles - v4.4.0
    Preparing search index...
    • Extends the runtime error-code catalog with the given code → message template entries.

      Plugins and other packages call this function during their registration (typically from their load*Plugin entry point) so their codes resolve through getErrorMessage without growing the engine catalog.

      In production builds the catalog is never read, so this becomes a no-op and bundlers can drop the entire message table (constant-folded through process.env.NODE_ENV).

      Parameters

      • extraMessages: Partial<Record<string, string>>

        the code → message template entries to add

      Returns void