seaplane 0.8.0

The Seaplane Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
use thiserror::Error as ThisError;

#[allow(missing_copy_implementations)]
#[derive(ThisError, Debug, Clone, PartialEq, Eq)]
pub enum RestrictError {
    #[error("restrict requests must target all restrictions, an api, or an api and a key")]
    IncorrectRestrictRequestTarget,
    #[error("the requirements specified in the builder are in conflict and invalid")]
    ConflictingRequirements,
}