Checks if the provided hash format is allowed by Packwiz.
The hash format to check.
The HashFormat enum value if valid, otherwise throws an error.
Checks if the provided hash format is allowed by Packwiz.