Details
-
Improvement
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
Description
If a request is made to display a YANG model that is not loaded or if the request contains a typo, YangLib returns a 500 error instead of a useful response.
The YangLibProvider handles this scenario by throwing an IllegalStateException with a message. This exception can be used in a way that results in a correct response.