panic¶
- guppylang.std.builtins.panic(msg: str, *args)[source]¶
Panic, throwing an error with the given message, and immediately exit the program, aborting any subsequent shots.
Return type is arbitrary, as this function never returns.
- Args:
msg: The message to display. Must be a string literal. args: Arbitrary extra inputs, will not affect the message. Only useful for consuming linear values.