FacetUnion type

Contains the possible cases for Facet.

type FacetUnion = Facet | FacetResult | FacetError