Errors types and formats returned

Errors

The structure of the error response is the following:

{
    "errors": [
        {
            "code": "error_code",
            "message": "Error messsage"
        }
    ]
}

The response is an array of errors, in which every one of them consists of an unique error code that will identify the problem, and a message with a brief description of the cause.