Skip to content

Commit 29978d7

Browse files
author
nejc
committed
Add missing exception classes: TypeMismatchException, ImmutableException, ValidationException
1 parent 0be7a76 commit 29978d7

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/Exceptions/ImmutableException.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
namespace Nejcc\PhpDatatypes\Exceptions;
4+
5+
class ImmutableException extends \Exception {}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
namespace Nejcc\PhpDatatypes\Exceptions;
4+
5+
class TypeMismatchException extends \Exception {}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
namespace Nejcc\PhpDatatypes\Exceptions;
4+
5+
class ValidationException extends \Exception {}

0 commit comments

Comments
 (0)