rush_ecs_sdk/error/mod.rs
1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum StorageError {
5 #[error("storage not yet migrated")]
6 NotMigrated,
7}
8
9#[derive(Error, Debug)]
10pub enum AuthError {
11 #[error("keypair not found in path")]
12 KeypairNotFound(String),
13
14 #[error("sign in to authenticate")]
15 Unauthenticated,
16}