This error occurs when you use a bad name for an @discoverable
attribute. @discoverable
attributes should be the library name followed by a .
and the protocol name.
{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0135.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}
To fix this error, use a valid discoverable name:
{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0135.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}