[][src]Function piet::new_error

pub fn new_error(kind: ErrorKind) -> Error

Create a new error of the given kind.