Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/playwright-browser-tunnel > getNormalizedErrorString

getNormalizedErrorString() function

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Normalizes an error to a string for logging purposes.

Signature:

export declare function getNormalizedErrorString(error: unknown): string;

Parameters

Parameter

Type

Description

error

unknown

Returns:

string