Error type is an enum.