言語アイコン
翻訳率
23%
言語アイコン
未翻訳

このページはまだ翻訳されていません。原文の内容が表示されています。

panic

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")

引数

panic(
any
)

values
any
必須引数
位置引数
可変長引数

The values to panic with and display to the user.