Updated on 2026-08-14
This commit is contained in:
parent
537731103f
commit
6d95abf3b8
51 changed files with 19 additions and 3133 deletions
|
|
@ -1,8 +0,0 @@
|
|||
package com.tangem.common
|
||||
|
||||
/**
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
interface Filter<T> {
|
||||
fun filter(value: T): Boolean
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
package com.tangem.common
|
||||
|
||||
/**
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
interface Validator<Data, Error> {
|
||||
fun validate(data: Data? = null): Error?
|
||||
}
|
||||
|
|
@ -17,11 +17,6 @@ abstract class ModuleError : Throwable(), ModuleMessage {
|
|||
abstract val data: Any?
|
||||
}
|
||||
|
||||
/**
|
||||
* An exception marked as FbConsumeException should be submitted to Firebase.Crashlytics as a non-fatal issue.
|
||||
*/
|
||||
interface FbConsumeException
|
||||
|
||||
interface ModuleMessageConverter<ModuleMessage, R> {
|
||||
fun convert(message: ModuleMessage): R
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue