try_deserialize_bytearray_error
This function is meant to transform a serialized output from a contract call into a ByteArray.
x - Span of felt252s returned from a contract call (panic data)
Returns the parsed ByteArray, or an Err if the parsing failed.
Fully qualified path: snforge_std::byte_array::try_deserialize_bytearray_error
pub fn try_deserialize_bytearray_error(x: Span<felt252>) -> Result<ByteArray, ByteArray>