Adds custom error when there are no devices