[MOD] Allow multiple error codes per function. #915