-
Notifications
You must be signed in to change notification settings - Fork 36
Errors
etienne-gauvin edited this page Feb 15, 2012
·
1 revision
When an error occurs in API Allociné Helper, an ErrorException is threw ; it contains a message and a code.
For disable exceptions, set the constant ALLO_THROW_EXCEPTIONS
to false in source code.
The last ErrorException (threw or not) is stocked in AlloHelper, do just AlloHelper::error()
for get it.
Code | Description |
---|---|
1 | The extension php_curl must be installed with PHP or function file_get_contents must be enabled. |
2 | An error occurred while retrieving the data. |
3 | An error occurred when converting data. |
4 | The keywords should contain more than one character. |
5 | Allociné error |
6 | This offset ($offset ) does not exist. |
7 | This isn't a URL to an image. |