solana_zk_token_sdk/instruction/errors.rs
#[cfg(not(target_os = "solana"))]
use thiserror::Error;
#[derive(Error, Clone, Debug, Eq, PartialEq)]
#[cfg(not(target_os = "solana"))]
pub enum InstructionError {
#[error("decryption error")]
Decryption,
#[error("missing ciphertext")]
MissingCiphertext,
#[error("illegal amount bit length")]
IllegalAmountBitLength,
#[error("arithmetic overflow")]
Overflow,
}