For the complete documentation index, see llms.txt. This page is also available as Markdown.

panicUtf8

api • Docs


near-sdk-js v2.0.0 / api / panicUtf8

Function: panicUtf8()

panicUtf8(msg): never

Panic the transaction execution with given message

Parameters

• msg: Uint8Array

panic message in raw bytes, which should be a valid UTF-8 sequence

Returns

never

Defined in

packages/near-sdk-js/src/api.ts:929

Last updated