fn to_lsserror<T: Display>(error: T) -> LssError