[ https://issues.apache.org/jira/browse/YUNIKORN-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manikandan R updated YUNIKORN-2712: ----------------------------------- Description: Some REST API's throw "missing specific param" kind of errors, but not all. For example, user name is missing. Similarly, all mandatory parameters in other REST API's can follow the same pattern. It is very clear, rather than saying "doesn't exists" kind of error. Suggestion given in [https://github.com/apache/yunikorn-core/pull/905#discussion_r1663068429] can be used as reference for implementation. was:Some REST API's throw "missing specific param" kind of errors, but not all. For example, user name is missing. Similarly, all mandatory parameters in other REST API's can follow the same pattern. It is very clear, rather than saying "doesn't exists" kind of error. > Missing specific param error for REST API > ----------------------------------------- > > Key: YUNIKORN-2712 > URL: https://issues.apache.org/jira/browse/YUNIKORN-2712 > Project: Apache YuniKorn > Issue Type: Improvement > Components: core - scheduler > Reporter: Manikandan R > Priority: Major > > Some REST API's throw "missing specific param" kind of errors, but not all. > For example, user name is missing. Similarly, all mandatory parameters in > other REST API's can follow the same pattern. It is very clear, rather than > saying "doesn't exists" kind of error. > Suggestion given in > [https://github.com/apache/yunikorn-core/pull/905#discussion_r1663068429] can > be used as reference for implementation. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org