Method parameter lists cannot carry doc comments:
{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0024.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}
For the time being, place doc comments on the method itself:
{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0024.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}
This error will no longer exist once this bug is resolved. The error a holdover from the migration to describe method payloads using FIDL types, rather than parameter lists.