dts_imp: Utilize meaningful error values.