element-x-ada/features/knockrequests
Jorge Martin Espinosa efdc10e60a
Add catchingExceptions method to replace runCatching (#4797)
- Add `runCatchingExceptions` and `mapCatchingExceptions` to replace `runCatching` and `mapCatching`.
- Make `tryOrNull { ... }` catch only exceptions too.
- Apply the changes to the whole project.
- Add new Rust fakes for tests to handle the code that's now unblocked - previously it just threw an `UnsatisfiedLinkError` which we ignored.
- Add a new `detekt-rules` project with a `RunCatchingRule` to prevent `runCatching` and `mapCatching` usages.
2025-06-04 09:02:26 +02:00
..
api Apply dual licenses: AGPL + Element Commercial to file headers. 2025-01-07 10:05:04 +01:00
impl Add catchingExceptions method to replace runCatching (#4797) 2025-06-04 09:02:26 +02:00