This repository has been archived by the owner on Oct 2, 2022. It is now read-only.
generated from spatie/package-skeleton-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alteracao na chamada da classe indices e criação de exceptions
- Loading branch information
1 parent
ada0bf2
commit 6699dd6
Showing
4 changed files
with
69 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace Valbert\IndicesCorrecao; | ||
|
||
use Throwable; | ||
|
||
class chamadaFuncaoException extends \Exception | ||
{ | ||
/** | ||
* Mensagem de erro Exception | ||
* @var string | ||
*/ | ||
protected $message = 'Não é permitido chamar a função numeroMeses e dataInicioFim em conjunto.'; | ||
|
||
/** | ||
* @param string $message | ||
* @param int $code | ||
* @param Throwable|null $previous | ||
*/ | ||
public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) | ||
{ | ||
parent::__construct($this->message, $code, $previous); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters