Project

General

Profile

Actions

Bug #5341

open

ndn::io::save does not complain if output file cannot be created

Added by Davide Pesavento about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Utils
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The documentation of ndn::io::save(T, std::string) states that ndn::io::Error is raised in case of "error during encoding or saving". However, if the output file cannot be created for whatever reason (e.g., insufficient permissions, nonexistent parent directory), no error is raised and there is no indication to the caller that the function invocation failed.

No data to display

Actions

Also available in: Atom PDF