Introduction
The CYWare JS API provides a convenient way to create web applications with the ease of javascript code, coupled with the speed of a natively compiled engine.
The engine itself consists of two files, a common library file (libcyware.so/dylib/dll) and a binary cgi file (cyweb.cgi). The library file is located in the directory
Errors
The Westeros API uses the following error codes:
| Error Code | Meaning |
|---|---|
| X000 | Some parameters are missing. This error appears when you don't pass every mandatory parameters. |
| X001 |
Unknown or unvalid secret_key. This error appears if you use an unknow API key or if your API key expired.
|
| X002 |
Unvalid secret_key for this domain. This error appears if you use an API key non specified for your domain. Developper or Universal API keys doesn't have domain checker.
|
| X003 |
Unknown or unvalid user token. This error appears if you use an unknow user token or if the user token expired.
|