@kosko/common-utilsFunctionsgetErrorCodepublicgetErrorCode CallablegetErrorCode(err: unknown): string | undefinedReturns code of an error-like object.Parameterserr: unknownReturns string | undefined
Returns
code
of an error-like object.