READY: added an error method to the API