Skip to content

Commit 455d3f7

Browse files
committed
Replaced error log with exceptions
1 parent f208452 commit 455d3f7

File tree

5 files changed

+373
-116
lines changed

5 files changed

+373
-116
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"php": ">=7.2",
77
"ext-json": "*",
88
"voku/httpful": "0.4.*"
9-
},
9+
},
1010
"require-dev": {
1111
"phpunit/phpunit": "8.1.*"
1212
},

src/InvalidRequestException.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php namespace VisualAppeal;
2+
3+
class InvalidRequestException extends \Exception
4+
{
5+
//
6+
}

src/InvalidResponseException.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php namespace VisualAppeal;
2+
3+
class InvalidResponseException extends \Exception
4+
{
5+
//
6+
}

0 commit comments

Comments
 (0)