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
@@ -20,6 +20,6 @@ use RuntimeException as PhpRuntimeException;
* Thrown to indicate an exception occurred while dealing with DCE Security
* (version 2) UUIDs
*/
class DceSecurityException extends PhpRuntimeException
class DceSecurityException extends PhpRuntimeException implements UuidExceptionInterface
{
}