9 namespace tvm {
namespace xchg {
11 static constexpr
unsigned ok = 0;
13 struct ec : tvm::error_code {
Error codes for PriceXchg.
Definition: error_code.hpp:13
static constexpr unsigned incorrect_price
Incorrect price.
Definition: error_code.hpp:23
static constexpr unsigned not_enough_tokens_amount
Not enough tokens amount.
Definition: error_code.hpp:17
static constexpr unsigned have_other_side_with_non_immediate_client
When an order without 'immediate_client' flag comes to a PriceXchg with enqueued orders of other side...
Definition: error_code.hpp:28
static constexpr unsigned canceled
Order is canceled.
Definition: error_code.hpp:20
static constexpr unsigned deals_limit
Partially processed because deals limit.
Definition: error_code.hpp:15
static constexpr unsigned have_this_side_with_non_post_order
When an order without 'post_order' flag comes to a PriceXchg with enqueued orders of this side.
Definition: error_code.hpp:32
static constexpr unsigned expired
Order is expired.
Definition: error_code.hpp:21
static constexpr unsigned not_enough_tons_to_process
Not enough native funds to process (crystals)
Definition: error_code.hpp:16
static constexpr unsigned too_big_tokens_amount
Too big calculated tokens amount.
Definition: error_code.hpp:18
static constexpr unsigned out_of_tons
Partially processed because out of tons.
Definition: error_code.hpp:14
static constexpr unsigned no_post_order_partially_done
Order without post-order flag is partially done.
Definition: error_code.hpp:22
static constexpr unsigned unverified_tip3_wallet
Unverified tip3 token wallet.
Definition: error_code.hpp:19