1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use tea_codec::define_scope;
use tea_sdk::serde::error::Serde;
use thiserror::Error;

use crate::actor::ActorId;

define_scope! {
	ActorX2Core: Serde {
		GasFeeExhausted => GasFeeExhausted;
	}
}

#[derive(Debug, Error)]
#[error("Gas fee is exhausted within wasm actor {0}")]
pub struct GasFeeExhausted(pub ActorId);