die() stops the Flux script execution and returns an error message.
Function type signature
(msg: string) => A
(Required) Error message to return.
Force a script to exit with an error message
die(msg: "This is an error message")
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
InfluxDB Cloud customers can contact InfluxData Support.