safeErrorReason
Function: safeErrorReason()
safeErrorReason(
err):string
Defined in: packages/auth/src/oauth/oauth.service.ts:186
Loggable reason of an error: library messages may contain tokens or their payload, so only a short code or the error class name is kept
Parameters
err
any
any error
Returns
string
a reason without any part of the message