Removed application error code to application specific module