[closes #2] AOP for common error of app resource