pub fn new<S: Into<String>>(msg: S) -> Error {
        Error {
            msg: msg.into(),
            cause: None,
        }
    }
/// Create a new error without cause.
Create a new error without cause.
Create a new error without cause .
pub fn new<S: Into<String>>(msg: S) -> Error {
        Error {
            msg: msg.into(),
            cause: None,
        }
    }
pub fn new < S : Into < String > > ( msg : S ) -> Error { Error { msg : msg . into ( ) , cause : None , } }
Create a new error without cause.
Create a new error without cause .
msg
S
msg
S