panic
- Takes an array of
felt252
values as panic data - Terminates the current execution
- Propagates the panic data up the call stack
Parameters
data: Array<felt252>
- The panic data to be included with the panic
Returns
never
- This function never returns as it terminates execution
Example
Related Functions
panic_with_byte_array
- Panic with aByteArray
messagepanic!
macro - Convenient macro for panicking with messages