All it does is log and exit which is what the caller will be doing on an error anyway (see entry).
This is so they can be unit tested.