Feature #754

Add more error properties to network API

Added by David Demelier 9 months ago. Updated 9 months ago.

Status:ClosedStart date:12/13/2017
Priority:NormalDue date:
Assignee:David Demelier% Done:

100%

Category:IrccdEstimated time:1.00 h
Target version:3.0.0Spent time:1.00 h
MFD after: Bookmark:@
MFD revision: Submitted by:
Branch:default

Description

Add two new error properties in the JSON message

  • errorcategory: the category as a string (e.g. server, irccd, plugin)
  • errormessage: the error message (e.g. plugin not found)

Update unit tests to test for errorcategory as well.

Associated revisions

Revision 609:fb8472c1305a
Added by David Demelier 9 months ago

Irccd: add more error properties, closes #754

Add two new properties in error messages:

- errorMessage: the string message as-is,
- errorCategory: the error category (e.g. server, rule).

Adapt tests to test against the category.

History

#1 Updated by David Demelier 9 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

#2 Updated by David Demelier 9 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF