diff options
Diffstat (limited to 'vendor/open-telemetry/sdk/Trace/StatusDataInterface.php')
-rw-r--r-- | vendor/open-telemetry/sdk/Trace/StatusDataInterface.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Trace/StatusDataInterface.php b/vendor/open-telemetry/sdk/Trace/StatusDataInterface.php new file mode 100644 index 000000000..973d2b519 --- /dev/null +++ b/vendor/open-telemetry/sdk/Trace/StatusDataInterface.php @@ -0,0 +1,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; +} |