AccountRejections

Why the account rejects a command.

Properties

Link copied to clipboard
@ErrorCode(description = "The account is frozen.")
const val FROZEN: String
Link copied to clipboard
@ErrorCode(description = "The balance does not cover the amount.")
const val INSUFFICIENT_BALANCE: String
Link copied to clipboard
@ErrorCode(description = "An amount is positive, a balance not negative.")
const val INVALID_AMOUNT: String

Functions

Link copied to clipboard
fun reject(code: String, message: String): Decision

V10 rejects a command by deciding a rejection that carries its code.