Difference between revisions of "Error handling"
Jump to navigation
Jump to search
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
+ | [[wikipedia:Error handling]] | ||
+ | |||
* [[Bash]]: | * [[Bash]]: | ||
− | ** <code>[[set -e]]</code> | + | ** <code>[[set -e]], [[set -u]]</code> |
** <code>[[trap]]</code> | ** <code>[[trap]]</code> | ||
+ | |||
+ | |||
* [[Ansible]]: | * [[Ansible]]: | ||
− | ** <code>fail:</code> | + | ** <code>[[fail:]]</code> |
− | ** <code>ignore_errors: true</code> | + | ** <code>[[ignore_errors:]] [true|false]</code> |
+ | ** <code>[[any_errors_fatal:]] [true|false]</code> | ||
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]]: | ||
+ | ** [[Raise]] | ||
− | + | == Related == | |
− | + | * [[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: