nexql-policy 0.2.0

Access modes, allow/deny, PII, caps, timeouts, audit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-3.0-only
// Copyright (C) 2026 NexQL-OSS Team

use thiserror::Error;

#[derive(Debug, Error)]
pub enum PolicyError {
    #[error("access denied: {0}")]
    Denied(String),

    #[error("SQL rejected: {0}")]
    SqlRejected(String),

    #[error("SQL parse error: {0}")]
    SqlParse(String),
}