pub fn process_catch<T>(
funcname: &'static str,
ret: Result<T>,
) -> Result<T, GLCoreError>
Expand description
Translate the returned Result<T>
from std::panic::catch_unwind()
to our Result<T>
pub fn process_catch<T>(
funcname: &'static str,
ret: Result<T>,
) -> Result<T, GLCoreError>
Translate the returned Result<T>
from std::panic::catch_unwind()
to our Result<T>