Skip to content
Snippets Groups Projects
Commit c11e33f2 authored by Kamal Bramwell's avatar Kamal Bramwell
Browse files

Implemented createUserFriendlyErrorMessage Bindings method

parent adfe47b7
No related branches found
No related tags found
No related merge requests found
...@@ -175,4 +175,6 @@ interface Bindings { ...@@ -175,4 +175,6 @@ interface Bindings {
fun registerForNotifications(e2eId: E2eId, token: String) fun registerForNotifications(e2eId: E2eId, token: String)
fun unregisterForNotifications(e2eId: E2eId) fun unregisterForNotifications(e2eId: E2eId)
fun createUserFriendlyErrorMessage(error: String): String
} }
\ No newline at end of file
...@@ -373,4 +373,8 @@ open class BindingsAdapter : Bindings { ...@@ -373,4 +373,8 @@ open class BindingsAdapter : Bindings {
override fun unregisterForNotifications(e2eId: E2eId) { override fun unregisterForNotifications(e2eId: E2eId) {
CoreBindings.unregisterForNotifications(e2eId) CoreBindings.unregisterForNotifications(e2eId)
} }
override fun createUserFriendlyErrorMessage(error: String): String {
return CoreBindings.createUserFriendlyErrorMessage(error)
}
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment