All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.stellar.walletsdk.exception.CustomerExceptions.kt Maven / Gradle / Ivy

There is a newer version: 1.7.2
Show newest version
package org.stellar.walletsdk.exception

sealed class CustomerExceptions(message: String) : WalletException(message)

class CustomerUpdateException : CustomerExceptions("At least one SEP9 field should be updated")

class UnauthorizedCustomerDeletionException(account: String) :
  CustomerExceptions("Unauthorized to delete customer account $account")

class CustomerNotFoundException(account: String) :
  CustomerExceptions("Customer not found for account $account")

class ErrorOnDeletingCustomerException(account: String) :
  CustomerExceptions("Error on deleting customer for account $account")

class KYCServerNotFoundException : CustomerExceptions("Required KYC server URL not found")




© 2015 - 2024 Weber Informatics LLC | Privacy Policy