Provider better error handling functionality documentation