Function swc_error_reporters::handler::try_with_handler
source · pub fn try_with_handler<F, Ret>(
cm: Lrc<SourceMap>,
config: HandlerOpts,
op: F
) -> Result<Ret, Error>where
F: FnOnce(&Handler) -> Result<Ret, Error>,