initla code
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
use crate::error::AppError;
|
||||
pub struct AppController;
|
||||
impl AppController { pub async fn new() -> Result<Self, AppError> { Err(AppError(crate::error::SafeError { kind: crate::error::ErrorKind::Internal, message: "Application unavailable", sqlstate: None, severity: crate::error::ErrorSeverity::Error, retryable: false, operation_id: None })) } pub async fn run(&mut self) -> Result<(), AppError> { Ok(()) } }
|
||||
Reference in New Issue
Block a user