[−][src]Macro glsp::error
Constructs a GError
by formatting a string.
This is usually more convenient than calling GError
's constructors directly.
error!()
is equivalent to GError::new()
.
error!(x)
is equivalent to GError::from_val(x)
.
error!("{}", a)
is equivalent to GError::from_str(&format!("{}", a))
.