Change error type for local and manual providers