23 lines
456 B
Dart
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);
|
|
}
|