Additional tidyup around error code handling.
Additional tidyup around error code handling.

fquinner/OpenMAMA,fquinner/OpenMAMA,philippreston/OpenMAMA,dpauls/OpenMAMA,philippreston/OpenMAMA,dpauls/OpenMAMA,philippreston/OpenMAMA,fquinner/OpenMAMA,philippreston/OpenMAMA,philippreston/OpenMAMA,dpauls/OpenMAMA,fquinner/OpenMAMA,dpauls/OpenMAMA,fquinner/OpenMAMA,fquinner/OpenMAMA,dpauls/OpenMAMA,dpauls/OpenMAMA,dpauls/OpenMAMA,philippreston/OpenMAMA,fquinner/OpenMAMA,philippreston/OpenMAMA