Closed addshore closed 10 years ago
The api should have a generic way of handling errors...
potentially a single function gets passed the result / request and checks the api result for an error section, it then handles the error or throws a further exception to be handles elsewhere?
Any api errors now throw a usage exception, these are then handled at various levels
The api should have a generic way of handling errors...
potentially a single function gets passed the result / request and checks the api result for an error section, it then handles the error or throws a further exception to be handles elsewhere?