1
0
Fork 0
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:
Gaurav 2022-03-15 17:03:57 +05:30
parent 96786939bd
commit d6cb1ba6ae
2 changed files with 19 additions and 2 deletions

View 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);
}
}