Error Object

An Error object can be identified by its type field, which is set to the String value Error. It has an error field that contains the error details as an object. The object has the following fields:

Field Name Type Description
code String The error code.
message String The error message.

The following example illustrates the general form of an Error object:


{
    "EnvinsaResponse":
    {
        "type": "Error",
        "error":
        {
            "code": "8001",
            "message": "Missing input parameter : point"
        }
    }
}
		

In the above example, the Error object contains an error code of 8001 and an error message of Missing input parameter : point.