Skip to content

Commit

Permalink
Ajustes Exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorccs committed Sep 2, 2018
1 parent a97c1bd commit 64874dd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
9 changes: 9 additions & 0 deletions src/Exceptions/BimerException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
namespace Bimer\Exceptions;

use Exception;

class BimerException extends Exception {

}
?>
4 changes: 1 addition & 3 deletions src/Exceptions/BimerParameterException.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?php
namespace Bimer\Exceptions;

use Exception;

class BimerParameterException extends Exception {
class BimerParameterException extends BimerException {

}
?>
4 changes: 1 addition & 3 deletions src/Exceptions/BimerRequestException.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?php
namespace Bimer\Exceptions;

use Exception;

class BimerRequestException extends Exception {
class BimerRequestException extends BimerException {

}
?>
4 changes: 1 addition & 3 deletions src/Exceptions/BimerValidationException.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?php
namespace Bimer\Exceptions;

use Exception;

class BimerValidationException extends Exception {
class BimerValidationException extends BimerException {

}
?>

0 comments on commit 64874dd

Please sign in to comment.