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

Erroring command replies should include stringified ErrorCode

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago