clean up error handling

extract remote service error handling
- use helper in AccountRegistryService
- use helper in DeviceRegistryService
- add responseErrorHandler in Helper.kt
- add hlaejaErrorHandler in Helper.kt

change NoChangeException to extend HlaejaException

change NotFoundException to extend HlaejaException
This commit is contained in:
2025-04-04 16:09:27 +02:00
parent 1525702f07
commit fc981b0039
5 changed files with 30 additions and 45 deletions

View File

@@ -1,7 +1,7 @@
package ltd.hlaeja.exception
@Suppress("unused")
open class NoChangeException : AccountRegistryException {
open class NoChangeException : HlaejaException {
constructor() : super()