diff options
Diffstat (limited to 'vendor/opentracing/opentracing/src/OpenTracing/UnsupportedFormatException.php')
-rw-r--r-- | vendor/opentracing/opentracing/src/OpenTracing/UnsupportedFormatException.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/vendor/opentracing/opentracing/src/OpenTracing/UnsupportedFormatException.php b/vendor/opentracing/opentracing/src/OpenTracing/UnsupportedFormatException.php deleted file mode 100644 index dd4ef56a3..000000000 --- a/vendor/opentracing/opentracing/src/OpenTracing/UnsupportedFormatException.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace OpenTracing; - -use UnexpectedValueException; - -/** - * Thrown when trying to inject or extract in an invalid format - */ -final class UnsupportedFormatException extends UnexpectedValueException -{ - /** - * @param string $format - * @return UnsupportedFormatException - */ - public static function forFormat(string $format): UnsupportedFormatException - { - return new self(sprintf('The format "%s" is not supported.', $format)); - } -} |