check that error.code is specifically a string
check that error.code is specifically a string

some libraries set error.code to the http status code which would be a number

cuvva/cuvva-log-node,TheTree/branch,TheTree/branch,TheTree/branch