Files
azure-database-tui/src/app/controller.rs
T
2026-08-13 13:25:45 +02:00

4 lines
408 B
Rust

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(()) } }