panic for debug
Causes nushell to panic.
Signature
> panic {flags} (msg)
Parameters
-
msg: The custom message for the panic.
Input/output types:
| input | output |
|---|---|
| nothing | nothing |
Examples
Panic with a custom message
> panic 'This is a custom panic message'
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/panic.html