Function jlrs::error::exception[][src]

pub fn exception<T>(exc: String) -> JlrsResult<T>

Create a new JlrsError::Exception and wrap it in a JlrsResult::Err.