cedarling 0.0.58

The Cedarling: a high-performance local authorization service powered by the Rust Cedar Engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * This software is available under the MIT License
 * See https://github.com/uzyn/sparkv/blob/main/LICENSE for full text.
 *
 * Copyright (c) 2024 U-Zyn Chua
 */

#[derive(Debug, PartialEq, thiserror::Error)]
pub enum Error {
    #[error("capacity exceeded")]
    CapacityExceeded,
    #[error("item size exceeded")]
    ItemSizeExceeded,
    #[error("ttl too long")]
    TTLTooLong,
}