bastor 0.1.3

A wrapper helps implementing actor with Bastion more easier with self-implemented state
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

/// Actor trait primary errors.
#[derive(Debug, Error)]
pub enum Error {
  /// This happens when it is unable to create a new supervior at the moment.
  #[error("Unable to create supervisor")]
  InitializeSupervisorFailed,
  /// This happens when it is unable to create a new children group at the moment.
  #[error("Unable to create children group")]
  InitializeChildrenGroupFailed,
}