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

Erroring command replies should include stringified ErrorCode

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: Server
    • Labels:
      None

      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"
       }
      

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

              Created:
              Updated:
              1 year, 24 weeks, 4 days ago