Function: abort()
ts
function abort(format: string, ...rest: AnyArgs): never;Print the current stack and raise a formatted Lua error.
Error messages should start with a capital letter and end with a period.
Parameters
| Parameter | Type | Description |
|---|---|---|
format | string | C-like formatted string for interpolation. |
...rest | AnyArgs | Rest parameters to interpolate into format string. |
Returns
never