mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-31 12:00:42 -07:00
Add error handling for over sso seat limits
This commit is contained in:
parent
7e46c83592
commit
aee9521c91
4 changed files with 48 additions and 16 deletions
|
@ -21,3 +21,17 @@ pub enum ZeroIDCError
|
|||
#[error(transparent)]
|
||||
ParseError(#[from] url::ParseError),
|
||||
}
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
#[error("SSO Exchange Error: {message:}")]
|
||||
pub struct SSOExchangeError {
|
||||
message: String,
|
||||
}
|
||||
|
||||
impl SSOExchangeError {
|
||||
pub fn new(message: String) -> Self {
|
||||
SSOExchangeError{
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue