# tf.compat.v1.flags.IllegalFlagValueError

<br />

Raised when the flag command line argument is illegal.

Inherits From: [`Error`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/compat/v1/flags/Error)

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

\`tf.compat.v1.app.flags.IllegalFlagValueError\`

<br />