From 791b42afe11769a673bbb80fd9ecce4019564d1d Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Sat, 18 Apr 2020 11:28:47 +0200 Subject: [PATCH] Add platform exception --- lib/src/exceptions.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/src/exceptions.dart b/lib/src/exceptions.dart index 96cd0ee..6e67379 100644 --- a/lib/src/exceptions.dart +++ b/lib/src/exceptions.dart @@ -16,6 +16,11 @@ class DecryptionException implements Exception { DecryptionException(this.error); } +class PlatformException implements Exception { + String error; + PlatformException(this.error); +} + class NotImplementedException implements Exception { String error; NotImplementedException(this.error);