Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/browser
SDK Version
6.17.9
Framework Version
6.17.9
Link to Sentry event
No response
Steps to Reproduce
According to this documentation after 6.17.0, I should use spanStatusfromHttpCode
but spanStatusfromHttpCode is missing.
// New in 6.17.0:
import { spanStatusfromHttpCode } from '@sentry/utils';
const status = spanStatusfromHttpCode(403);
// Before:
import { SpanStatus } from '@sentry/tracing';
const status = SpanStatus.fromHttpCode(403);
Expected Result
Use spanStatusfromHttpCode instead of eventStatusFromHttpCode
Actual Result
'"@sentry/utils"' has no exported member named 'spanStatusfromHttpCode'. Did you mean 'eventStatusFromHttpCode'?ts(2724)