Skip to content

Commit

Permalink
Merge pull request #5 from reload/exceptions
Browse files Browse the repository at this point in the history
Add exceptions themselves
  • Loading branch information
arnested authored Dec 7, 2024
2 parents 9ce9636 + 02ef148 commit 4d5b945
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Exception/InvalidCprNumberFormat.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace Reload\Cpr\Exception;

class InvalidCprNumberFormat extends \InvalidArgumentException
{
}
9 changes: 9 additions & 0 deletions src/Exception/NonExistingDate.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

namespace Reload\Cpr\Exception;

class NonExistingDate extends \InvalidArgumentException
{
}

0 comments on commit 4d5b945

Please sign in to comment.