# tf.compat.v1.flags.UnrecognizedFlagError

<br />

Raised when a flag is unrecognized.

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

    tf.compat.v1.flags.UnrecognizedFlagError(
        flagname, flagvalue='', suggestions=None
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `flagname` | str, the name of the unrecognized flag. |
| `flagvalue` | The value of the flag, empty if the flag is not defined. |

<br />