Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (26 sloc) 481 Bytes
metadata:
title: Error action
short title: Error
example start: 1
example end: 2
documentation: https://docassemble.org/docs/initial.html#error action
---
metadata:
error action: on_error
---
event: on_error
question: |
Sorry, we have encountered an error.
buttons:
- Exit: exit
url: https://docassemble.org
---
mandatory: True
question: |
This interview will encounter
an error when you press Continue.
field: intro
---
mandatory: True
code: |
a = 5 / 0
You can’t perform that action at this time.