fix(lib): add message checks and improve exceptions
This commit is contained in:
@@ -30,5 +30,11 @@ class NearbyServiceException implements Exception {
|
||||
);
|
||||
}
|
||||
|
||||
factory NearbyServiceException.invalidMessage(String value) {
|
||||
return NearbyServiceException(
|
||||
'The message="$value" is not valid',
|
||||
);
|
||||
}
|
||||
|
||||
final Object? error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user