Accessing inactive variant

Official Description It is an error unless a variant is active for the entirety of each reference and access to each component of the variant.

Error Handling

This error is reported if the following two conditions are met:

  1. Range checking is enabled.
  2. The number of values defined by the variant selector's type is less than or equal to 1024.