/** * A printable description of any caught value. Never throws. * * An `Error` answers its `message`, falling back to its `name` when the * message is empty (`new RangeError()` → `"RangeError"`). Every other value is * stringified; a symbol, and anything whose stringification throws or is * refused, answers `""`. * * @param err - The value from a `catch` clause or a rejection handler. * @returns the value's text, or `""` when it cannot * be described. Only a value that stringifies to empty (`""`, `[]`) answers * an empty string. */ export declare function errorText(err: unknown): string; //# sourceMappingURL=error-text.d.ts.map