Skip to content

Commit 838ec31

Browse files
paulb777Corrob
authored andcommitted
Improve error message (#2614)
1 parent fbaf19b commit 838ec31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firebase/Core/FIRApp.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ + (void)configureWithName:(NSString *)name options:(FIROptions *)options {
161161
if (!((character >= 'a' && character <= 'z') || (character >= 'A' && character <= 'Z') ||
162162
(character >= '0' && character <= '9') || character == '_' || character == '-')) {
163163
[NSException raise:kFirebaseCoreErrorDomain
164-
format:@"App name should only contain Letters, "
165-
@"Numbers, Underscores, and Dashes."];
164+
format:@"App name can only contain alphanumeric (A-Z,a-z,0-9), "
165+
@"hyphen (-), and underscore (_) characters"];
166166
}
167167
}
168168

0 commit comments

Comments
 (0)