* Allow the error state in the JSON returned to determine the use of the error callback if it exists.