Open coxley opened 8 years ago
Just to mirror what I've shared before... If you look at pynsot.app.App
, I want more of the user-friendliness to actually just be integrated into the default client, including the error-handling and helper methods.
Translation: All exceptions (400 <=> 500 error codes) should be caught, and their payloads returned...
This is what an exception for an attribute not existing when creating network looks like:
That tells me nothing. You can catch the exception and inspect
.response.json()
, but this should be part of our client lib. We should create our own exception types.