onError method
Called when an exception occurs. Return a PlexApiResponse (typically PlexError).
Implementation
Future<PlexApiResponse> onError(Object error, StackTrace stack) async =>
PlexError(400, error.toString());
Called when an exception occurs. Return a PlexApiResponse (typically PlexError).
Future<PlexApiResponse> onError(Object error, StackTrace stack) async =>
PlexError(400, error.toString());