mirror of
https://github.com/archtechx/money.git
synced 2025-12-16 04:44:03 +00:00
update: add dedicated exception class
This commit is contained in:
parent
96786939bd
commit
d6cb1ba6ae
2 changed files with 19 additions and 2 deletions
15
src/Exceptions/CannotExtractCurrencyException.php
Normal file
15
src/Exceptions/CannotExtractCurrencyException.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace ArchTech\Money\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class CannotExtractCurrencyException extends Exception
|
||||
{
|
||||
public function __construct(string $message)
|
||||
{
|
||||
parent::__construct($message);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue