Improves error reporting for API users