Project

General

Profile

Actions

Feature #1872

closed

Validator: error code

Added by Alex Afanasyev over 10 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Security
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

OnDataValidationFailed callback currently has only std::string parameter that explains the error. We should define a set of "standard" errors and add error code, as further processing can differ in different cases.

Examples:

  • failure because violates trust model
  • failure because key cannot be fetched ...

Related issues 2 (1 open1 closed)

Related to ndn-cxx - Feature #3223: Validator should give some details in error messagesClosed

Actions
Blocks ndn-cxx - Feature #3412: SegmentFetcher: onError signal should report more specific failure informationNew

Actions
Actions

Also available in: Atom PDF