An trait representing the common operations you would do to/with credentials, such as
logging in with a password, or validating an oauth token to log in
case classCredentialsError(cause: String) extends Exception with TSecError with Product with Serializable