From 3e2cc1d9f5079db8c04b67c9008fe854a20a4d1a Mon Sep 17 00:00:00 2001 From: Freek van de Ven Date: Tue, 23 Jul 2024 15:56:53 +0200 Subject: [PATCH] feat: add exception for template apply errors in data-interface --- .../lib/src/data_interface.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/flutter_availability_data_interface/lib/src/data_interface.dart b/packages/flutter_availability_data_interface/lib/src/data_interface.dart index 0ae9c1c..147c4d8 100644 --- a/packages/flutter_availability_data_interface/lib/src/data_interface.dart +++ b/packages/flutter_availability_data_interface/lib/src/data_interface.dart @@ -7,6 +7,9 @@ class AvailabilityNotFoundException implements Exception {} /// Exception thrown when the requested template can not be found class TemplateNotFoundException implements Exception {} +/// Exception thrown when the requested template can not be applied +class TemplateApplyException implements Exception {} + /// A base interface that defines the communication from the availability user /// story to its persistance solution. ///