Skip to main content
This page lists the Anchor custom errors returned by the dynamic-bonding-curve program.
Anchor custom program errors start at 6000. When a transaction log contains custom program error: 0x1771, convert the hex value to decimal to find the matching code. For example, PoolError::MathOverflow maps to code 6000.

Error Codes

Program 0.2.2 includes errors through 6086. InvalidQuoteMint is 6008.

TypeScript SDK Validation Helpers

Call these before createConfig2. These helpers return booleans or throw SDK-side errors before the program returns a custom error.