Types

Link copied to clipboard
class InvalidCharacter(character: Char, position: Int) : AddressFormatException

This exception is thrown by Bech32 when you try to decode data and a character isn't valid. You shouldn't allow the user to proceed in this case.

Link copied to clipboard

This exception is thrown by Bech32 when you try to decode data and the checksum isn't valid. You shouldn't allow the user to proceed in this case.

Link copied to clipboard

This exception is thrown by Bech32 when you try to decode data and the data isn't of the right size. You shouldn't allow the user to proceed in this case.

Link copied to clipboard

This exception is thrown by Bech32 when you try and decode an address or private key with an invalid prefix (version header or human-readable part). You shouldn't allow the user to proceed in this case.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?