Project

General

Profile

Actions

Optimization #3160

closed

clean up error codes

Added by Victor Julien over 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

The list of error codes defined in util-error.h is massive and often not very helpful. One of the original ideas was to have a list of unique codes, but that hasn't materialized. The codes are often reused, lots are redundant and some may be unused.

Also, the codes often don't add all that much to the per error/warning custom message.

Consider a much simpler scheme. E.g. something like the errno approach (or perhaps exactly this).


Related issues 1 (0 open1 closed)

Related to Suricata - Feature #2497: error messages usability improvementClosedJeff LucovskyActions
Actions

Also available in: Atom PDF