Use interceptor to handler error message globally.