Development build 586e1bd4
Typst文档简体中文版v0.15.1 + dev 586e1bd4

panic自始可用Go to source

Fails with an error.

Arguments are displayed to the user (not rendered in the document) as strings, converting with repr if necessary.

Example

The code below produces the error panicked with: this is wrong.

#panic("this is wrong")

参数
Question mark

panic(..any)

values
any
必需参数
Question mark
位置参数
Question mark
变长参数
Question mark

The values to panic with and display to the user.