-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap more constraint violation cases to UserError (#100897)
Cases covered in this PR: - Example inputs conflict with input constraints - Example inputs conflict with inline constraints - Suggest users to use `constrain_as_*()` when trying to export with data-dependent operations Differential Revision: [D45666627](https://www.internalfb.com/diff/D45666627) Pull Request resolved: #100897 Approved by: https://github.com/avikchaudhuri
- Loading branch information
1 parent
b179d34
commit 0e08a9b
Showing
4 changed files
with
63 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters