From 25adb777e3a0d10b239052eb7738ea34c94e7ab7 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 05:36:26 +0000 Subject: [PATCH] =?UTF-8?q?CourseRegistrationRepository=E3=81=A7Error?= =?UTF-8?q?=E5=9E=8B=E3=82=82DomainError=E3=81=AB=E5=A4=89=E6=8F=9B?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Kanta Oikawa --- .../course_registration_repository.dart | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/apps/dotto/lib/repository/course_registration_repository.dart b/apps/dotto/lib/repository/course_registration_repository.dart index 95fc3716..0d0229fd 100644 --- a/apps/dotto/lib/repository/course_registration_repository.dart +++ b/apps/dotto/lib/repository/course_registration_repository.dart @@ -92,6 +92,12 @@ final class CourseRegistrationRepositoryImpl rethrow; } on Exception catch (e, stackTrace) { throw DomainError.fromException(e: e, stackTrace: stackTrace); + } catch (e, stackTrace) { + throw DomainError( + type: DomainErrorType.unknown, + message: e.toString(), + stackTrace: stackTrace, + ); } } @@ -113,6 +119,12 @@ final class CourseRegistrationRepositoryImpl rethrow; } on Exception catch (e, stackTrace) { throw DomainError.fromException(e: e, stackTrace: stackTrace); + } catch (e, stackTrace) { + throw DomainError( + type: DomainErrorType.unknown, + message: e.toString(), + stackTrace: stackTrace, + ); } } @@ -131,6 +143,12 @@ final class CourseRegistrationRepositoryImpl rethrow; } on Exception catch (e, stackTrace) { throw DomainError.fromException(e: e, stackTrace: stackTrace); + } catch (e, stackTrace) { + throw DomainError( + type: DomainErrorType.unknown, + message: e.toString(), + stackTrace: stackTrace, + ); } } }