Skip to content

Commit

Permalink
Docs for non_exported_id
Browse files Browse the repository at this point in the history
Summary: Add docs for error `non_exported_id`

Reviewed By: ilya-klyuchnikov

Differential Revision: D50456971

fbshipit-source-id: eaa692c18b0594e9b26e998d96d4f748d2c5bb72
VLanvin authored and facebook-github-bot committed Oct 19, 2023
1 parent ae0afce commit bb47c23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/reference/errors.md
Original file line number Diff line number Diff line change
@@ -303,6 +303,12 @@ test() ->
nonexistent:fooooon/9999. % Error
```

### non_exported_id

This error indicates that you're referencing a type ID that exists but is not exported.

Export the type in the module it is declared in using `-export_type([...])` to fix this issue.


### recursive_constraint

0 comments on commit bb47c23

Please sign in to comment.