new

Function new 

Source
pub fn new(kind: ErrorKind) -> Error