mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Periodically fetch release notes.
This commit is contained in:
@@ -11,4 +11,8 @@ import org.whispersystems.signalservice.api.push.exceptions.MalformedResponseExc
|
||||
*/
|
||||
public interface ErrorMapper {
|
||||
Throwable parseError(int status, String body, Function<String, String> getHeader) throws MalformedResponseException;
|
||||
|
||||
default Throwable parseError(int status) throws MalformedResponseException {
|
||||
return parseError(status, "", s -> "");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user