Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/sentry/index.mjs>spanStatusfromHttpCode

The Official Sentry Deno SDK
Go to 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.117.0/index.mjs";

Converts a HTTP status code into a SpanStatusType.

type

getSpanStatusFromHttpCode