Skip to main content

rok_tenant/
error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum TenantError {
5    #[error("no tenant resolved for this request")]
6    NoTenant,
7
8    #[error("invalid tenant ID: {0}")]
9    InvalidId(String),
10}