Plugin-specific exceptions
This commit is contained in:
parent
1e3716e722
commit
0524d4302b
3 changed files with 42 additions and 9 deletions
|
@ -820,7 +820,7 @@
|
|||
}
|
||||
|
||||
- (void)sendErrorForItem:(IndexedPlayerItem *)playerItem {
|
||||
FlutterError *flutterError = [FlutterError errorWithCode:[NSString stringWithFormat:@"%d", playerItem.error]
|
||||
FlutterError *flutterError = [FlutterError errorWithCode:[NSString stringWithFormat:@"%d", playerItem.error.code]
|
||||
message:playerItem.error.localizedDescription
|
||||
details:nil];
|
||||
[self sendError:flutterError playerItem:playerItem];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue