Skip to content

Commit 3d76846

Browse files
committed
Update status codes to match API, update README to reflect version bump.
1 parent 8425e38 commit 3d76846

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Preferred way to install is with [Composer](https://getcomposer.org/).
8585
Just add
8686

8787
"require": {
88-
"textalk/webshop-client": "0.1.3"
88+
"textalk/webshop-client": "0.1.4"
8989
}
9090

9191
in your projects composer.json.

lib/Exception.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ class Exception extends \Exception {
1212
-32602 => 'InvalidParams',
1313
-32603 => 'InternalError',
1414
-32000 => 'ServerError',
15-
-32001 => 'ValidationFailed',
16-
-32002 => 'AccessDenied',
17-
-32003 => 'BadCall',
15+
1006 => 'AccessDenied',
16+
9001 => 'ValidationFailed',
1817
);
1918

2019
/**

0 commit comments

Comments
 (0)