solana_zk_token_sdk/instruction/
errors.rs

1
2
3
4
5
6
7
8
9
10
11
#[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,
}