Parses the input and verifies it matches one of the environments allowed by the Env types ("test" | "development" | "production").
The data to parse.
The specified environment if allowed.
If the data does not match one of the environments allowed by the Env types ("test" | "development" | "production").
Parses the input and verifies it matches one of the environments allowed by the Env types ("test" | "development" | "production").