1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//!
//! Error handling for the Vertex AI to OpenAI proxy server.
//!
//! Defines all error types used throughout the application using thiserror
//! for ergonomic error handling. Follows Rust best practices for error design.
//!
//! Authors:
//! Jaro <yarenty@gmail.com>
//!
//! Copyright (c) 2026 SkyCorp
/* --- uses ------------------------------------------------------------------------------------ */
use Error;
/* --- types ----------------------------------------------------------------------------------- */
///
/// Application error types following Rust best practices.
///
/// Covers all possible error conditions that can occur during proxy operation.
/// Uses thiserror for automatic Display and Error trait implementations.
/* --- start of code -------------------------------------------------------------------------- */
/// Result type alias for cleaner error handling throughout the application
pub type Result<T> = Result;