Unhandled Exceptions

ApurvaGoyalApurvaGoyal USMember ✭✭

Whats the best way to catch global unhandled exceptions in Xamarin Forms?

Thanks

Posts

  • ChrisSwainChrisSwain USMember, University ✭✭

    I'd like to know this, too. Is there a way to implement a global exception handler to catch all unhandled exceptions and present a better UX to alert the user that something has gone wrong and the app is going to need to close?

  • ylemsoulylemsoul RUMember ✭✭✭
    edited August 2015

    Common:
    AppDomain.Current.UnhandledException += ...

    TaskScheduler.UnobservedTaskException += ...

    Android specific runtime exceptions:
    AndroidEnvironment.UnhandledExceptionRaiser +=

Sign In or Register to comment.