To avoid compilation errors (conflicts) with other libraries which also use SUCCESS as an enumerated value, it was necessary to prefix the SGP30ERR enum values with SGP30_. SUCCESS becomes SGP30_SUCCESS etc..
Unfortunately this breaks backward compatibility.
If you start to see errors along the lines of SUCCESS being undefined, please use the Library Manager to select version 1.0.4 of this library.
Sorry about that...