authy-java
authy-java copied to clipboard
Error class is missing 'statusCode'
We're implementing the Java client into our app and feel that the Error object should have a getStatusCode() method.
The reason is that the 'message' might not be suitable for display in the UI as is and we don't have any way to distinguish server, client and user errors without the status code.
Did you mean something like getStatus() in Resource class?
Ah, I think you're right. I was so focused on 'User' and 'Error' that I didn't realize the 'Users' object stores the status code. Cool, thanks :)