Skip to main content

failed

Function failed 

Source
pub fn failed(message: String) -> TransactionStop
Expand description

What: A transaction failure with the generic code. Why: Most unexpected failures are reported the same way.

In TS you’d write (pseudocode):

initialTransactionFailure({ args, message })