mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-15 12:00:31 +08:00
20dad35167
* Replace Jekyll highlight tags with fenced code blocks Replace Jekyll highlight tags with fenced code blocks. Canonicalize javascript to js. Correct highlighting languages. Add highlighting to code blocks. Remove leading $ from bash blocks. Remove empty lines at start and end of code blocks. Stripped trailing whitespace. * Fix language of code highlighting
15 lines
372 B
Markdown
15 lines
372 B
Markdown
---
|
|
name: PANIC
|
|
parameters:
|
|
- message
|
|
---
|
|
|
|
`PANIC` terminates the script and therefore DnsControl with an exit code of 1. This should be used if your script cannot gather enough information to generate records, for example when a HTTP request failed.
|
|
|
|
{% include startExample.html %}
|
|
|
|
```js
|
|
PANIC("Something really bad has happened");
|
|
```
|
|
|
|
{% include endExample.html %}
|