* Create a unique key for a plugin error to enable deduplication
(error: PluginError)
| 93 | * Create a unique key for a plugin error to enable deduplication |
| 94 | */ |
| 95 | function getErrorKey(error: PluginError): string { |
| 96 | const plugin = 'plugin' in error ? error.plugin : 'no-plugin' |
| 97 | return `${error.type}:${error.source}:${plugin}` |
| 98 | } |
| 99 | |
| 100 | /** |
| 101 | * Add errors to AppState, deduplicating to avoid showing the same error multiple times |
no outgoing calls
no test coverage detected