ensureTermIsSupportedProperty

Ensures term is one of the stream_property/2 shapes this implementation actually reports for open/4's option list (input, output, alias(_), type(text), eof_action(eof_code), reposition(false)).

Throws

if term is a valid-but-unsupported property value (e.g. type(binary)).