customize device errors