Converts a HTTP status code into a SpanStatusType.
Use spanStatusFromHttpCode instead. This export will be removed in v8 as the signature contains a typo.
The HTTP response status code.
The span status or unknown_error.
Converts a HTTP status code into a SpanStatusType.
Deprecated
Use spanStatusFromHttpCode instead. This export will be removed in v8 as the signature contains a typo.
Param: httpStatus
The HTTP response status code.
Returns
The span status or unknown_error.