Improve new convo error messages

This commit is contained in:
Andrew
2024-03-27 12:22:53 +10:30
parent 006c50e38d
commit e25b90b229
6 changed files with 25 additions and 27 deletions

View File

@@ -91,7 +91,7 @@ object SnodeAPI {
const val useTestnet = false
// Error
internal sealed class Error(val description: String) : Exception(description) {
sealed class Error(val description: String) : Exception(description) {
object Generic : Error("An error occurred.")
object ClockOutOfSync : Error("Your clock is out of sync with the Service Node network.")
object NoKeyPair : Error("Missing user key pair.")