aboutsummaryrefslogtreecommitdiff
path: root/include/DeviceCommunicationExceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/DeviceCommunicationExceptions.h')
-rw-r--r--include/DeviceCommunicationExceptions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/DeviceCommunicationExceptions.h b/include/DeviceCommunicationExceptions.h
index 6d21561..2913975 100644
--- a/include/DeviceCommunicationExceptions.h
+++ b/include/DeviceCommunicationExceptions.h
@@ -36,5 +36,10 @@ public:
DeviceReceivingFailure(std::string msg) : DeviceCommunicationException(msg){}
};
+class InvalidCRCReceived: public DeviceReceivingFailure {
+public:
+ InvalidCRCReceived(std::string msg) : DeviceReceivingFailure(msg){}
+};
+
#endif //LIBNITROKEY_DEVICECOMMUNICATIONEXCEPTIONS_H