mirror of
https://github.com/pachli/pachli-android.git
synced 2025-01-07 06:16:45 +01:00
efd1c8e556
In the previous code `PachliError` could correctly chain errors and generate error messages, `ApiError` didn't, which is why there was the temporary `ApiError.fmt()` extension function. Rewrite `ApiError` to implement `PachliError` so it gets these benefits and to reduce the number of different error-handling mechanisms in the code. Main changes: - `PachliError` is now an interface so it can be extended by other error interfaces. - All the `ApiError` subclasses implement `PachliError`, and can specify the error string and interpolated variables at the point of declaration. - Update `ListsRepository` and `ServerRepository` to return `PachliError` subclasses.
5 lines
188 B
XML
5 lines
188 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<issues format="6" by="lint 8.3.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.2)" variant="all" version="8.3.2">
|
|
|
|
</issues>
|