-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Give clients much more detailed errors #1168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Alex Saveau <[email protected]>
DEVELOPER_ERROR | ||
}) | ||
@Retention(RetentionPolicy.SOURCE) | ||
public @interface All {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really happy with this name, any ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe Code
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM, ErrorCodes.Anything
feels weird, but yours makes more sense.
@@ -1,33 +1,46 @@ | |||
package com.firebase.ui.auth.data.model; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we move this to the root package or leave it as is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is LIBRARY_GROUP
only that's not a breaking change, so if you want to move it to the root package that SGTM.
Signed-off-by: Alex Saveau <[email protected]>
|
||
void onFailure(); | ||
void onFailure(@NonNull Exception e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible that anyone was relying on this interface? If so this is a breaking change .... if this is meant to be internal let's annotate it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so, or at least, I know we've broken it before without notice. I'll annotate it.
@SUPERCILEX thanks! Just left a few small comments. |
Signed-off-by: Alex Saveau <[email protected]>
Fixes #526