pub fn new(kind: ErrorKind, description: impl Into<String>) -> Error {
        Error {
            kind,
            description: description.into(),
            partial_tag: None,
        }
    }
/// Creates a new `Error` using the error kind and description.
Creates a new `Error` using the error kind and description.
Creates a new ` Error ` using the error kind and description .
pub fn new(kind: ErrorKind, description: impl Into<String>) -> Error {
        Error {
            kind,
            description: description.into(),
            partial_tag: None,
        }
    }
pub fn new ( kind : ErrorKind , description : impl Into < String > ) -> Error { Error { kind , description : description . into ( ) , partial_tag : None , } }
Creates a new `Error` using the error kind and description.
Creates a new ` Error ` using the error kind and description .
kind
ErrorKind
description
impl Into<String>
kind
ErrorKind
description
impl Into<String>