Skip to content

Commit

Permalink
Change message of exception
Browse files Browse the repository at this point in the history
  • Loading branch information
SoneeJohn committed Feb 24, 2020
1 parent 9ca9924 commit eeb9f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XCDYouTubeKit/XCDYouTubeVideoQueryOperation.m
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ @implementation XCDYouTubeVideoQueryOperation
#pragma clang diagnostic ignored "-Wobjc-designated-initializers"
- (instancetype)init
{
@throw [NSException exceptionWithName:NSGenericException reason:@"Use the `initWithVideo:cookies:` method instead." userInfo:nil];
@throw [NSException exceptionWithName:NSGenericException reason:@"Use the `initWithVideo:streamURLsToQuery:options:cookies:` method instead." userInfo:nil];
}
#pragma clang diagnostic pop

Expand Down

0 comments on commit eeb9f8c

Please sign in to comment.