Skip to main content
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.111.0/index.mjs";

Converts a HTTP status code into a SpanStatusType.

type

getSpanStatusFromHttpCode