More specific exception for invalid provider