rnaapi 2.0.15

NetActuate API client library and cli program
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2025 Dennis Durling
// This file is part of RNAAPI Rust API Client Library, licensed
// under the GNU General Public License v3.0
use thiserror::Error;

#[derive(Clone, Debug, Error)]
#[non_exhaustive]
pub enum NaApiError {
    #[error("{0}")]
    IpNotAllowed(String),
    #[error("{0}")]
    APIKeyInvalid(String),
    #[error("{0}")]
    UnknownError(String),
}