On an electron in a nonuniform axial magnetic field in a uniformly rotating frame