Skip to content

Commit 37cfd71

Browse files
author
Melroy van den Berg
committed
Add error example
1 parent e19aef7 commit 37cfd71

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ will give the following JSON output:
2828
"cheat_url": "http://www.gamefaqs.com/console/pc/code/615805.html"
2929
}```
3030
31+
On error
32+
--------
33+
When for some reason the page couldn't be loaded / found or parsed, you will get the following JSON response:
34+
35+
```
36+
{"error":"Page could not be loaded!"}
37+
```
38+
3139
Code example
3240
------------
3341
Please, see [example.php](example.php)

0 commit comments

Comments
 (0)