Function: getErrorMsg()
getErrorMsg(
error
):string
Get the error message string from an unknown type.
Parameters
Parameter | Type |
---|---|
error | unknown |
Returns
string
Source
src/prompt/utils/get-error-message.ts:27 (opens in a new tab)
getErrorMsg(
error
):string
Get the error message string from an unknown type.
Parameter | Type |
---|---|
error | unknown |
string
src/prompt/utils/get-error-message.ts:27 (opens in a new tab)