junobuild_satellite

Function error_with_data

Source
pub fn error_with_data<T: Serialize>(
    message: String,
    data: &T,
) -> Result<(), String>
Expand description

Logs an error message with additional serialized data.