Skip to content
Snippets Groups Projects
Commit 8bb2df7d authored by Bernardo Dal Seno's avatar Bernardo Dal Seno
Browse files

_VerifyErrors()._Error() and _ErrorIf() are now consistent


_Error() didn't contain the logic for demoting errors to warnings and for
marking an operation as failed. Now _ErrorIf() is just a minimal wrapper
for _Error().

Unit tests included.

Signed-off-by: default avatarBernardo Dal Seno <bdalseno@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 31b8f1e6
No related branches found
Tags v2.0.2
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment