UNPKG

562 BTypeScriptView Raw
1export interface SpanStatus {
2 /** The status code of this message. */
3 code: SpanStatusCode;
4 /** A developer-facing error message. */
5 message?: string;
6}
7/**
8 * An enumeration of status codes.
9 */
10export declare enum SpanStatusCode {
11 /**
12 * The default status.
13 */
14 UNSET = 0,
15 /**
16 * The operation has been validated by an Application developer or
17 * Operator to have completed successfully.
18 */
19 OK = 1,
20 /**
21 * The operation contains an error.
22 */
23 ERROR = 2
24}
25//# sourceMappingURL=status.d.ts.map
\No newline at end of file