pub fn common_error_adapter<E>(ix_error: &InstructionError) -> Option<E>where E: 'static + Error + FromPrimitive,