Skip to content

Commit

Permalink
feat(Exceptions): Add InvalidArgumentException class
Browse files Browse the repository at this point in the history
- Add new file InvalidArgumentException.php
- Implement InvalidArgumentException class
- Make it implement Throwable interface
  • Loading branch information
guanguans committed Jul 12, 2023
1 parent bfec254 commit fa153d9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions app/Exceptions/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

declare(strict_types=1);

/**
* This file is part of the guanguans/music-dl.
*
* (c) guanguans <ityaozm@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/

namespace App\Exceptions;

use App\Contracts\Throwable;

final class InvalidArgumentException extends \InvalidArgumentException implements Throwable
{
}

0 comments on commit fa153d9

Please sign in to comment.