Move errors settings to the service provider