mirror of
https://github.com/ente-io/ente.git
synced 2025-05-02 12:08:03 +00:00
29 lines
692 B
Dart
29 lines
692 B
Dart
|
|
class GeneralFaceMlException implements Exception {
|
|
final String message;
|
|
|
|
GeneralFaceMlException(this.message);
|
|
|
|
@override
|
|
String toString() => 'GeneralFaceMlException: $message';
|
|
}
|
|
|
|
class ThumbnailRetrievalException implements Exception {
|
|
final String message;
|
|
final StackTrace stackTrace;
|
|
|
|
ThumbnailRetrievalException(this.message, this.stackTrace);
|
|
|
|
@override
|
|
String toString() {
|
|
return 'ThumbnailRetrievalException: $message\n$stackTrace';
|
|
}
|
|
}
|
|
|
|
class CouldNotRetrieveAnyFileData implements Exception {}
|
|
|
|
class CouldNotRunFaceDetector implements Exception {}
|
|
|
|
class CouldNotWarpAffine implements Exception {}
|
|
|
|
class CouldNotRunFaceEmbeddor implements Exception {} |