Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| HttpException | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| <?php | |
| namespace Win; | |
| use Exception; | |
| /** | |
| * Erro Http | |
| * - Lançar essa exceção irá causar um 403, 404, 500, etc | |
| * | |
| * @example throw new HttpException('Pagina não encontrada', 404); | |
| * @example throw new HttpException("Autenticação obrigatória", 401); | |
| */ | |
| class HttpException extends Exception | |
| { | |
| } |