Skip to content

Commit

Permalink
Fix exceptions inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGD committed Apr 6, 2018
1 parent db5a11d commit 6c38b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/exceptions/DirectAccountNotExistException.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
namespace directapi\exceptions;


use Exception;

class DirectAccountNotExistException extends Exception
class DirectAccountNotExistException extends DirectApiException
{
public $error_detail;

Expand Down
2 changes: 1 addition & 1 deletion src/exceptions/DirectApiNotEnoughUnitsException.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace directapi\exceptions;


class DirectApiNotEnoughUnitsException extends \Exception
class DirectApiNotEnoughUnitsException extends DirectApiException
{
public $error_detail;

Expand Down

0 comments on commit 6c38b0c

Please sign in to comment.