add exception class Error for library ImageRecognition