Add interface for UUID-related exceptions (#340)

Add common interface for exceptions so that wrappers can identify that is a UUID-related exception
This commit is contained in:
Barney Hanlon
2021-04-23 17:12:51 +01:00
committed by GitHub
parent e5b3699bbe
commit 90a87a7543
13 changed files with 33 additions and 12 deletions
+1 -1
View File
@@ -19,6 +19,6 @@ use RuntimeException as PhpRuntimeException;
/**
* Thrown to indicate that the bytes being operated on are invalid in some way
*/
class InvalidBytesException extends PhpRuntimeException
class InvalidBytesException extends PhpRuntimeException implements UuidExceptionInterface
{
}