Move view error binding to a service provider.