I've received a "null" response, what can I do?

"Null" responses are being returned when there is an error and the "errors" and "warnings" nodes are not defined in the query/mutation.