Difference between revisions of "Error handling"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
* [[Bash]]: | * [[Bash]]: | ||
− | ** <code>[[set -e]]</code> | + | ** <code>[[set -e]], [[set -u]]</code> |
** <code>[[trap]]</code> | ** <code>[[trap]]</code> | ||
Line 14: | Line 14: | ||
https://docs.ansible.com/ansible/latest/user_guide/playbooks_error_handling.html#overriding-the-changed-result | https://docs.ansible.com/ansible/latest/user_guide/playbooks_error_handling.html#overriding-the-changed-result | ||
− | Python: | + | * [[Python]]: |
− | * [[Raise]] | + | ** [[Raise]] |
== Related == | == Related == | ||
* [[Error tracking]] | * [[Error tracking]] | ||
− | + | * [[Reason:]] | |
== See also == | == See also == |
Latest revision as of 07:32, 7 February 2023
This article is a Draft. Help us to complete it.
- Ansible:
fail:
ignore_errors: [true|false]
any_errors_fatal: [true|false]
Related[edit]
See also[edit]
- Programming: C, Python,
go
,loop
,while
,for
,if
,variable
, Error handling, Regex, Function, IDE, await, R (programming language), XACML, Type, Class inheritance, Methods, Scheme, Array, Deserialization
Advertising: