summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Trace/StatusDataInterface.php
blob: 973d2b51943bf9b01471c971390369342e94d3fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

declare(strict_types=1);

namespace OpenTelemetry\SDK\Trace;

interface StatusDataInterface
{
    public static function ok(): self;

    public static function error(): self;

    public static function unset(): self;

    public function getCode(): string;

    public function getDescription(): string;
}