Add type and value attributes to GeoIP2::Error::Type.