pub fn i32_to_u8(x: i32) -> Result<u8, RpWebError>
Convert x: i32 to u8 if MIN(u8)=0 x <= x <= MAX(u8)=255