Function casper_rust_wasm_sdk::debug::error
source · pub fn error(s: &str)
Expand description
Logs an error message, prefixing it with “error wasm” and sends it to the console in JavaScript when running in a WebAssembly environment. When running outside WebAssembly, it prints the error message to the standard output.