hyperlane_app 13.0.3

Hyperlane application module containing core application logic, controllers, services, and middleware components.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;

#[derive(Clone, Copy, Debug, Deserialize, Eq, PartialEq, Serialize, ToSchema)]
#[repr(i32)]
pub enum ResponseCode {
    Success = 200,
    BadRequest = 400,
    Unauthorized = 401,
    Forbidden = 403,
    NotFound = 404,
    InternalError = 500,
    DatabaseError = 501,
    BusinessError = 502,
}