MCPcopy Create free account
hub / github.com/Py-Ec/solana-arbitrage-bot / ErrorCode

Enum ErrorCode

program/programs/tmp/src/error.rs:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3#[error_code]
4pub enum ErrorCode {
5 #[msg("No Profit at the end. Reverting...")]
6 NoProfit,
7 #[msg("Trying to swap when Information is invalid.")]
8 InvalidState,
9 #[msg("not enough funds: amount_in > src_balance.")]
10 NotEnoughFunds,
11}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected