diff --git a/packages/celest_core/CHANGELOG.md b/packages/celest_core/CHANGELOG.md index 0d9be903..3e355457 100644 --- a/packages/celest_core/CHANGELOG.md +++ b/packages/celest_core/CHANGELOG.md @@ -1,6 +1,7 @@ ## 0.1.1-wip - Update README +- Improve error message of `SerializationException` ## 0.1.0 diff --git a/packages/celest_core/lib/src/serialization/serializer.dart b/packages/celest_core/lib/src/serialization/serializer.dart index 1b6bf06f..03206109 100644 --- a/packages/celest_core/lib/src/serialization/serializer.dart +++ b/packages/celest_core/lib/src/serialization/serializer.dart @@ -109,7 +109,8 @@ final class _Serializers extends Serializers { final serializer = get(); if (serializer == null) { throw SerializationException( - 'No serializer found for $Dart. Did you forget to put() it?', + 'No serializer found for $Dart. Did you forget to call `celest.init()` ' + "at the start of your Flutter app's `main` function?", ); } return serializer;