Custom error messages in Shortcuts App

Honestly I'm not quite sure where to search for, or how to get technical support for the new Shortcuts app. Basically, I'm wondering if the Shortcuts app supports custom error messages.


My app has a custom intent, and if certain conditions aren't met it will respond with an error.


When I trigger the shortcut directly from Siri, the error is shown (as expected) in the response: "Hmm, something went wrong. <App Name> says, "<My Error Message>".


However, if I trigger the shortcut from the Shortcuts app, I just receive an alert saying "An unknown error occured" with no further details.


Is this a bug or am I constructing my error response in some way that the Shortcuts app cannot understand:


URActionIntentResponse* response = [[URActionIntentResponse alloc] initWithCode:URActionIntentResponseCodeFailure userActivity:nil];
response.error = @"Foobar";
self.completion(response);

Yes, same problem here! Do you find any workaround?

This has recently started happening with my Starbucks shortcut. Gets all the way to end and says "could not run order from Starbucks. It looks like there was a problem. Please launch app and try ordering there,
I have used this every day and now it just stops?

Also having this problem still.

Custom error messages in Shortcuts App
 
 
Q