pub fn new<S>(message: S) -> CredentialsError
    where
        S: Into<String>,
    {
        CredentialsError {
            message: message.into(),
        }
    }
/// Creates a new Credentials Error.
///
/// * `message` - The Error message for this CredentialsError.
Creates a new Credentials Error.
`message` - The Error message for this CredentialsError.
Creates a new Credentials Error . ` message ` - The Error message for this CredentialsError .
pub fn new<S>(message: S) -> CredentialsError
    where
        S: Into<String>,
    {
        CredentialsError {
            message: message.into(),
        }
    }
pub fn new < S > ( message : S ) -> CredentialsError where S : Into < String > , { CredentialsError { message : message . into ( ) , } }
Creates a new Credentials Error.
Creates a new Credentials Error .
message
S
message
S