fabric/fail
Fail the run with a message and an error code.
The step takes no nested steps:. It takes no timeout: or retry:.
with.message
Plain text, a ${{ }}, or a mix (becomes concat()).
with.code
The error code shown in monitoring.
Example
yaml
- id: empty_bronze
uses: fabric/fail
with:
message: Bronze table ${{ item.table_name }} is empty
code: BronzeEmpty