drt_chain_vm/
vm_err_msg.rs1pub const NON_PAYABLE_FUNC_REWA: &str = "function does not accept REWA payment";
2pub const NON_PAYABLE_FUNC_DCDT: &str = "function does not accept DCDT payment";
3
4pub const BIG_INT_BITWISE_OPERATION_NEGATIVE: &str =
5 "bitwise operations only allowed on positive integers";
6pub const DIVISION_BY_0: &str = "division by 0";
7pub const BAD_BOUNDS_LOWER: &str = "bad bounds (lower)";
8pub const EXPONENT_IS_POSITIVE: &str = "exponent must be negative";
9pub const NUMBER_IS_NOT_NORMAL: &str =
10 "number is not normal. It is either infinite, NaN or subnormal";
11pub const CANNOT_COMPARE_VALUES: &str = "values are not comparable";
12
13pub const ERROR_SIGNALLED_BY_SMARTCONTRACT: &str = "error signalled by smartcontract";
14
15pub const ERROR_NO_CALLBACK_CLOSURE: &str =
16 "no callback for closure, cannot call callback directly";