added Err primitive type