Rocky_Mountain_Vending/.pnpm-store/v10/files/98/1d8e06a4117ad25a2a3c8782bca20229ae088aad42a2e84420aa1f614408e3b76f4148c8e1b70108cc96786182a0901d913f49b327f9241c179034f53bc684
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

18 lines
787 B
Text

import { Span } from '../types-hoist/span';
import { SpanStatus } from '../types-hoist/spanStatus';
export declare const SPAN_STATUS_UNSET = 0;
export declare const SPAN_STATUS_OK = 1;
export declare const SPAN_STATUS_ERROR = 2;
/**
* Converts a HTTP status code into a sentry status with a message.
*
* @param httpStatus The HTTP response status code.
* @returns The span status or unknown_error.
*/
export declare function getSpanStatusFromHttpCode(httpStatus: number): SpanStatus;
/**
* Sets the Http status attributes on the current span based on the http code.
* Additionally, the span's status is updated, depending on the http code.
*/
export declare function setHttpStatus(span: Span, httpStatus: number): void;
//# sourceMappingURL=spanstatus.d.ts.map