pub fn convert_error<R1, R2>(other: StructError<R1>) -> StructError<R2>where R1: DomainReason, R2: DomainReason + From<R1>,