pub enum BurnError {
/// Emitted when there are not enough coins owned by the contract to burn.
NotEnoughCoins: (),
/// Emitted when attempting to burn zero coins.
ZeroAmount: (),
}
Expand description
Error log for when something goes wrong when burning assets.
Variants
NotEnoughCoins: ()
Emitted when there are not enough coins owned by the contract to burn.
ZeroAmount: ()
Emitted when attempting to burn zero coins.