Added OSErr checker macro