Library names must only contain letters and numbers (A-Z
, a-z
, and 0-9
), and must start with a letter.
{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0011.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}
To fix this, ensure that all library name components meet the requirements.
{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0011.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}
Note: This error generally only occurs when a library name otherwise contains only characters which are valid in a FIDL identifier (A-Z
, a-z
, 0-9
, or _
). If a library name contains other characters, some other error will occur, such as fi-0001: Invalid Character.