exceptionHelper method
Implementation
CaptureException exceptionHelper(
String method, int exceptionType, Object ex) {
String code = '0';
if (ex is PlatformException) {
code = ex.code;
}
final String exception =
exceptionType > 0 ? 'Platform Exception' : 'Exception';
logger?.log('iOS $method: $exception', code);
return convertFromPlatformException(ex, method, exception);
}