@ractive-ch/tab-mcp 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/log.d.ts CHANGED
@@ -19,6 +19,11 @@ export declare function createLogger(level: LogLevel, sink?: (line: string) => v
19
19
  * (`::ffff:a.b.c.d`) is treated as IPv4. `?` if it does not parse.
20
20
  */
21
21
  export declare function truncateIp(ip: string): string;
22
+ /**
23
+ * An error for a log line: its name only. Messages can carry request data,
24
+ * and a custom store's can hold token hashes or a connection string.
25
+ */
26
+ export declare function errorName(error: unknown): string;
22
27
  /**
23
28
  * Defence in depth (DEC-047). The relay catches errors per message and per
24
29
  * request; anything that still escapes is logged, never silently fatal: