com.samsung.android.sdk.coldwallet

Interface ScwErrorCode



  • public interface ScwErrorCode
    Class to define error codes from the Keystore
    • Field Detail

      • ERROR_OP_INTERRUPTED

        static final int ERROR_OP_INTERRUPTED
        Requested operation cancelled
        See Also:
        Constant Field Values
      • ERROR_ILLEGAL_MSG

        static final int ERROR_ILLEGAL_MSG
        Internal State Machine failed to handle message
        See Also:
        Constant Field Values
      • ERROR_LOAD_TA_FAILED

        static final int ERROR_LOAD_TA_FAILED
        Failed to load Trusted Applications
        See Also:
        Constant Field Values
      • ERROR_OP_TIMEOUT

        static final int ERROR_OP_TIMEOUT
        Requested operation cancelled by timeout
        See Also:
        Constant Field Values
      • ERROR_TNC_NOT_AGREED

        static final int ERROR_TNC_NOT_AGREED
        Latest term is not agreed. It need to start the Keystore main activity and then user can agree TnC. ScwDeepLink.MAIN
        See Also:
        Constant Field Values
      • ERROR_USER_AUTHENTICATION_FAILED

        static final int ERROR_USER_AUTHENTICATION_FAILED
        Failed to authenticate the user
        See Also:
        Constant Field Values
      • ERROR_CHECK_INTEGRITY_FAILED

        static final int ERROR_CHECK_INTEGRITY_FAILED
        Unauthorized changes have been made to your device Contact customer service.
        See Also:
        Constant Field Values
      • ERROR_CHECK_INTEGRITY_NOT_AVAILABLE

        static final int ERROR_CHECK_INTEGRITY_NOT_AVAILABLE
        Failed to check device integrity check Try again.
        See Also:
        Constant Field Values
      • ERROR_INVALID_SCW_APP_ID

        static final int ERROR_INVALID_SCW_APP_ID
        Failed to validate scw_app_id from Keystore Unauthorized applications are prohibited to access the Keystore
        See Also:
        Constant Field Values
      • ERROR_WALLET_RESET

        static final int ERROR_WALLET_RESET
        User entered wrong PIN too many times. So HD wallet seed is removed and this error is returned
        See Also:
        Constant Field Values
      • ERROR_NOT_SUPPORTED_COUNTRY

        static final int ERROR_NOT_SUPPORTED_COUNTRY
        Country of the device is not supported by Keystore yet
        See Also:
        Constant Field Values
      • ERROR_CHECK_APP_VERSION_FAILED

        static final int ERROR_CHECK_APP_VERSION_FAILED
        Failed to check whether there is an update or a mandatory version. Recall previously called API, but if the error continues, user needs to check the network connection.
        See Also:
        Constant Field Values
      • ERROR_INVALID_TRANSACTION_FORMAT

        static final int ERROR_INVALID_TRANSACTION_FORMAT
        Failed to sign transaction because transaction value is not valid.
        See Also:
        Constant Field Values
      • ERROR_INIT_TA_FAILED

        static final int ERROR_INIT_TA_FAILED
        Failed to initialize TA files because failed to unzip.
        See Also:
        Constant Field Values
      • ERROR_EXTERNAL_DISPLAY_NOT_ALLOWED

        static final int ERROR_EXTERNAL_DISPLAY_NOT_ALLOWED
        Failed to display on external display.
        See Also:
        Constant Field Values
      • ERROR_OP_NOT_SUPPORTED

        static final int ERROR_OP_NOT_SUPPORTED
        Requested operation is not supported. The sdk should be updated to support the API(s).
        See Also:
        Constant Field Values
      • ERROR_OUT_OF_BOUND_VALUE

        static final int ERROR_OUT_OF_BOUND_VALUE
        Failed to sign transaction because of the amount is out of bound. Ethereum amount boundary is 8 for integer part and 18 for decimal part. Ethereum token amount boundary is 22 digits.
        See Also:
        Constant Field Values
      • ERROR_OUT_OF_OUTPUT_COUNT

        static final int ERROR_OUT_OF_OUTPUT_COUNT
        output count can't exceed 2
        See Also:
        Constant Field Values
      • ERROR_INVALID_INPUT_UTXO

        static final int ERROR_INVALID_INPUT_UTXO
        input utxo count can't exceed 20
        See Also:
        Constant Field Values
      • ERROR_OUT_OF_INPUT_UTXO_SIZE

        static final int ERROR_OUT_OF_INPUT_UTXO_SIZE
        input utxo size can't exceed 50KB
        See Also:
        Constant Field Values
      • ERROR_EXCEED_NUMBER_OF_DEVICES

        static final int ERROR_EXCEED_NUMBER_OF_DEVICES
        Exceeded number of devices allowed per package in Developer Mode
        See Also:
        Constant Field Values
      • ERROR_INVALID_HD_PATH

        static final int ERROR_INVALID_HD_PATH
        Wrong HD path input
        See Also:
        Constant Field Values
      • ERROR_NETWORK_NOT_AVAILABLE

        static final int ERROR_NETWORK_NOT_AVAILABLE
        There is no network connection.
        See Also:
        Constant Field Values
      • ERROR_NETWORK_FAILED

        static final int ERROR_NETWORK_FAILED
        Network error occurred.
        See Also:
        Constant Field Values
      • ERROR_SERVER_FAILED

        static final int ERROR_SERVER_FAILED
        Server error occurred.
        See Also:
        Constant Field Values
      • ERROR_NEGATIVE_VALUE

        static final int ERROR_NEGATIVE_VALUE
        Value is negative value .
        See Also:
        Constant Field Values