native-crypto/lib/src/exceptions.dart
2020-04-15 17:42:24 +02:00

23 lines
456 B
Dart

// Copyright (c) 2020
// Author: Hugo Pointcheval
class KeyException implements Exception {
String error;
KeyException(this.error);
}
class EncryptionException implements Exception {
String error;
EncryptionException(this.error);
}
class DecryptionException implements Exception {
String error;
DecryptionException(this.error);
}
class NotImplementedException implements Exception {
String error;
NotImplementedException(this.error);
}