Skip to content

Commit bb47c23

Browse files
VLanvinfacebook-github-bot
authored andcommitted
Docs for non_exported_id
Summary: Add docs for error `non_exported_id` Reviewed By: ilya-klyuchnikov Differential Revision: D50456971 fbshipit-source-id: eaa692c18b0594e9b26e998d96d4f748d2c5bb72
1 parent ae0afce commit bb47c23

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/reference/errors.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,12 @@ test() ->
303303
nonexistent:fooooon/9999. % Error
304304
```
305305

306+
### non_exported_id
307+
308+
This error indicates that you're referencing a type ID that exists but is not exported.
309+
310+
Export the type in the module it is declared in using `-export_type([...])` to fix this issue.
311+
306312

307313
### recursive_constraint
308314

0 commit comments

Comments
 (0)