ajinkya
ajinkya

Reputation: 362

Exception handling in power apps for runtime exceptions

Basic app layout:
I created a sample power app where I just took around 20 text inputs collecting the data from it and sending it to the power automate flow (I am not using data card and form).

Now, I handled the exceptions in the power automate flow as any flow functionality got failed we should get a custom message in power apps; it is successfully working.

But, I am looking for something like,

How could I handle these runtime exceptions?

Upvotes: 0

Views: 1381

Answers (1)

mmikesy90
mmikesy90

Reputation: 981

Basically you can implement error handling on two levels:

  1. Wrapping your logic in IfError() function to handle a specific error (see Shane's tutorial)
  2. Define general error handling in the App.OnError property (another explanation by Shane)

To tackle broken connections, check out the Connection() function.

Upvotes: 0

Related Questions