Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-118

Better argument validation and error messages for commands

    XMLWordPrintable

    Details

    • Template:
    • Epic Link:
    • Story Points:
      5
    • Sprint:
      March 26, April 9, April 23

      Description

      Argument validation is somewhat haphazard right now (though not catastrophically bad because we have a lot of constraints in the DB)

      It needs to become more systematic, driven off some metadata description of commands, which clients incidentally could also use to understand commands.

      There are also cases where raw postgres errors are sent back to clients (e.g. when trying to create a policy with a name that is in use already)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              phong Phong Ly
              Reporter:
              lutter David Lutterkort
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support