pub fn new<S>(message: S) -> CredentialsError
    where
        S: ToString,
    {
        CredentialsError {
            message: message.to_string(),
        }
    }
Creates a new Credentials Error.

* `message` - The Error message for this CredentialsError.
rusoto/credential/src/lib.rs