diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/badge_exception.dart | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/badge_exception.dart b/lib/badge_exception.dart index 4dae0f8..75f019d 100644 --- a/lib/badge_exception.dart +++ b/lib/badge_exception.dart @@ -14,5 +14,12 @@ // along with this program. If not, see <https://www.gnu.org/licenses/>. class BadgeException implements Exception { - BadgeException(String cause); + String message; + + BadgeException(this.message); + + @override + String toString() { + return message; + } } |