Hi all,
do you know if this article about Error Codes is up to date?
As far as I can see I don’t receive any error_code, status_code, error_message or error_data fields, but a simple errors array containing a message field.
For example, triggering an error on purpose by calling a non-existing xxx field, I get the following errors array:
Array
(
[0] => stdClass Object
(
[message] => Field 'xxx' doesn't exist on type 'Query'
[locations] => Array
(
[0] => stdClass Object
(
[line] => 1
[column] => 129
)
)
[fields] => Array
(
[0] => query
[1] => xxx
)
)
)
Do you know how to get the fields mentioned in the article?
Thanks.
