fvm_sdk 2.12.0

Filecoin Virtual Machine actor development SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Copy, Clone, Debug, Error)]
#[error("actor does not exist in state-tree")]
pub struct NoStateError;

#[derive(Copy, Clone, Debug, Error)]
pub enum ActorDeleteError {
    #[error("deletion beneficiary is the current actor")]
    BeneficiaryIsSelf,
    #[error("deletion beneficiary does not exist")]
    BeneficiaryDoesNotExist,
}