Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sentry/index.d.ts>spanStatusfromHttpCode

The Official Sentry Deno SDK
Latest
variable spanStatusfromHttpCode
Deprecated
Deprecated

Use spanStatusFromHttpCode instead. This export will be removed in v8 as the signature contains a typo.

import { spanStatusfromHttpCode } from "https://deno.land/x/sentry@7.120.0/index.d.ts";

Converts a HTTP status code into a SpanStatusType.

type

getSpanStatusFromHttpCode