1 2 3 4 5 6 7
use anchor_lang::prelude::*; #[error_code] pub enum ErrorCode { #[msg("Chunk already received")] DuplicateChunk, }