Skip to content

nsuite v2.2.1


nsuite / getError

Function: getError()

getError(err): Error

Defined in: UtilsType.ts:14

Get Error instance

Parameters

err

unknown

Returns

Error

Example

ts
import { getError } from 'nsuite
console.log(getError(err).message)

Released under the Apache-2.0 License.