Type Alias NeoError

Source
pub type NeoError = Neo3Error;
Expand description

Legacy alias for backward compatibility

Aliased Type§

pub enum NeoError {
    Crypto(CryptoError),
    Wallet(WalletError),
    Network(NetworkError),
    Transaction(TransactionError),
    Contract(ContractError),
    Serialization(SerializationError),
    Config(String),
    Generic {
        message: String,
    },
    UnsupportedOperation(String),
}

Variants§

§

Crypto(CryptoError)

Cryptographic operation errors

§

Wallet(WalletError)

Wallet operation errors

§

Network(NetworkError)

Network/RPC communication errors

§

Transaction(TransactionError)

Transaction building/validation errors

§

Contract(ContractError)

Smart contract interaction errors

§

Serialization(SerializationError)

Serialization/deserialization errors

§

Config(String)

Configuration errors

§

Generic

Generic errors with context

Fields

§message: String
§

UnsupportedOperation(String)

Unsupported operation error