Skip to content

Commit

Permalink
update nft candy machine v2 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelvanderwaal committed Jan 18, 2022
1 parent b5a268d commit d7eb67e
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,32 +79,32 @@ pub static NFT_CANDY_MACHINE: phf::Map<&'static str, &'static str> = phf_map! {
};

pub static NFT_CANDY_MACHINE_V2: phf::Map<&'static str, &'static str> = phf_map! {
"12C" => "IncorrectOwner: Account does not have correct owner!",
"12D" => "Uninitialized: Account is not initialized!",
"12E" => "MintMismatch: Mint Mismatch!",
"12F" => "IndexGreaterThanLength: Index greater than length!",
"130" => "NumericalOverflowError: Numerical overflow error!",
"131" => "TooManyCreators: Can only provide up to 4 creators to candy machine (because candy machine is one)!",
"132" => "UuidMustBeExactly6Length: Uuid must be exactly of 6 length",
"133" => "NotEnoughTokens: Not enough tokens to pay for this minting",
"134" => "NotEnoughSOL: Not enough SOL to pay for this minting",
"135" => "TokenTransferFailed: Token transfer failed",
"136" => "CandyMachineEmpty: Candy machine is empty!",
"137" => "CandyMachineNotLive: Candy machine is not live!",
"138" => "HiddenSettingsConfigsDoNotHaveConfigLines: Configs that are using hidden uris do not have config lines, they have a single hash representing hashed order",
"139" => "CannotChangeNumberOfLines: Cannot change number of lines unless is a hidden config",
"13A" => "DerivedKeyInvalid: Derived key invalid",
"13B" => "PublicKeyMismatch: Public key mismatch",
"13C" => "NoWhitelistToken: No whitelist token present",
"13D" => "TokenBurnFailed: Token burn failed",
"13E" => "GatewayAppMissing: Missing gateway app when required",
"13F" => "GatewayTokenMissing: Missing gateway token when required",
"140" => "GatewayTokenExpireTimeInvalid: Invalid gateway token expire time",
"141" => "NetworkExpireFeatureMissing: Missing gateway network expire feature when required",
"142" => "CannotFindUsableConfigLine: Unable to find an unused config line near your random number index",
"143" => "InvalidString: Invalid string",
"144" => "SuspiciousTransaction: Suspicious transaction detected",
"145" => "CannotSwitchToHiddenSettings: Cannot Switch to Hidden Settings after items available is greater than 0",
"1770" => "IncorrectOwner: Account does not have correct owner!",
"1771" => "Uninitialized: Account is not initialized!",
"1772" => "MintMismatch: Mint Mismatch!",
"1773" => "IndexGreaterThanLength: Index greater than length!",
"1774" => "NumericalOverflowError: Numerical overflow error!",
"1775" => "TooManyCreators: Can only provide up to 4 creators to candy machine (because candy machine is one)!",
"1776" => "UuidMustBeExactly6Length: Uuid must be exactly of 6 length",
"1777" => "NotEnoughTokens: Not enough tokens to pay for this minting",
"1778" => "NotEnoughSOL: Not enough SOL to pay for this minting",
"1779" => "TokenTransferFailed: Token transfer failed",
"177A" => "CandyMachineEmpty: Candy machine is empty!",
"177B" => "CandyMachineNotLive: Candy machine is not live!",
"177C" => "HiddenSettingsConfigsDoNotHaveConfigLines: Configs that are using hidden uris do not have config lines, they have a single hash representing hashed order",
"177D" => "CannotChangeNumberOfLines: Cannot change number of lines unless is a hidden config",
"177E" => "DerivedKeyInvalid: Derived key invalid",
"177F" => "PublicKeyMismatch: Public key mismatch",
"1780" => "NoWhitelistToken: No whitelist token present",
"1781" => "TokenBurnFailed: Token burn failed",
"1782" => "GatewayAppMissing: Missing gateway app when required",
"1783" => "GatewayTokenMissing: Missing gateway token when required",
"1784" => "GatewayTokenExpireTimeInvalid: Invalid gateway token expire time",
"1785" => "NetworkExpireFeatureMissing: Missing gateway network expire feature when required",
"1786" => "CannotFindUsableConfigLine: Unable to find an unused config line near your random number index",
"1787" => "InvalidString: Invalid string",
"1788" => "SuspiciousTransaction: Suspicious transaction detected",
"1789" => "CannotSwitchToHiddenSettings: Cannot Switch to Hidden Settings after items available is greater than 0",
};

pub static TOKEN_METADATA: phf::Map<&'static str, &'static str> = phf_map! {
Expand Down

0 comments on commit d7eb67e

Please sign in to comment.