895cb8f944
This macro replaces the multiple instances where the current error state is checked before setting an optional error state. Signed-off-by: Armin Novak <armin.novak@thincast.com>