Skip to content

Latest commit

 

History

History
58 lines (31 loc) · 851 Bytes

File metadata and controls

58 lines (31 loc) · 851 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > LegacyAdapters > scrubError

LegacyAdapters.scrubError() method

Normalizes an object into an Error object.

Signature:

static scrubError(error: Error | string | any): Error;

Parameters

Parameter

Type

Description

error

Error | string | any

Returns:

Error