Select to view content in your preferred language

Allow an Arcade script to throw an Error

88
0
Wednesday
Status: Open
Labels (1)
RomaHicks
Occasional Contributor

Related to: Add Error Handling Try Catch to Arcade Language - Esri Community

Arcade does not seem to allow a script to throw an error manually.

I have places where a return value is a completely legal value but within the context of the operation I would rather completely bail on the operation with an error rather than silently input an unwanted value.