pub fn error_database(&self, db_name: &str) -> Option<Arc<crate::init::Error>> {
        let stage = self.stage.read();
        match &*stage {
            ServerStage::Initialized {
                database_errors, ..
            } => database_errors.get(db_name).cloned(),
            _ => None,
        }
    }
/// Error that occurred during initialization of a specific database.
Error that occurred during initialization of a specific database.
Error that occurred during initialization of a specific database .
pub fn error_database(&self, db_name: &str) -> Option<Arc<crate::init::Error>> {
        let stage = self.stage.read();
        match &*stage {
            ServerStage::Initialized {
                database_errors, ..
            } => database_errors.get(db_name).cloned(),
            _ => None,
        }
    }
pub fn error_database ( & self , db_name : & str ) -> Option < Arc < crate :: init :: Error > > { let stage = self . stage . read ( ) ; match & * stage { ServerStage :: Initialized { database_errors , .. } => database_errors . get ( db_name ) . cloned ( ) , _ => None , } }
Error that occurred during initialization of a specific database.
Error that occurred during initialization of a specific database .
&self
db_name
&str
&self
db_name
&str