New API error handling
More API documentation