Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8923

Erroring command replies should include stringified ErrorCode

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Do
    • None
    • None
    • Server
    • None

    Description

      I think this would make it easier for users (and us) to understand the output from failing commands.

      Example of current output:

       {
       	"ok" : 0,
       	"code" : 9,
       	"errmsg" : "Unknown option to insert command: asdf"
       }
      

      Example of requested output:

       {
       	"ok" : 0,
       	"code" : 9,
       	"codeName" : "FailedToParse",
       	"errmsg" : "Unknown option to insert command: asdf"
       }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              emily.hall Emily Hall
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                31 weeks ago