1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, thiserror::Error)]
pub enum SysSpawnError {
    #[error("No available IDs (max_actors limit reached)")]
    MaxActorsLimit,
}

#[derive(Debug, thiserror::Error)]
pub enum SysChannelError {
    #[error("No such actor")]
    NoActor,

    #[error("Invalid message-type")]
    InvalidMessageType,
}