Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report file not found errors (fixes issue #8). #16

Merged
merged 2 commits into from
Mar 20, 2018

Conversation

erikdahlstrom
Copy link
Contributor

Report if input files are missing.

if (!std::experimental::filesystem::exists(inputFilePath))
{
throw std::invalid_argument("Input file not found.");
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: new line after brace

Copy link
Contributor

@robertos robertos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with a nit. Feel free to fix it or merge if you deem too little to fix :) Thanks!

@robertos robertos merged commit 172da90 into microsoft:master Mar 20, 2018
@erikdahlstrom erikdahlstrom deleted the throw_on_filenotfound branch April 4, 2018 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants