panicUtf8

apiDocs


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