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

Add an IO Exception class. #23

Open
schwern opened this issue Oct 25, 2015 · 0 comments
Open

Add an IO Exception class. #23

schwern opened this issue Oct 25, 2015 · 0 comments

Comments

@schwern
Copy link
Contributor

schwern commented Oct 25, 2015

Right now there's just the Exception class. There needs to be a built in hierarchy of exceptions. The first candidate is IO specific exceptions.

  • Create Exception::IO as a subclass of Exception.
  • Move the logic that copies errno to error into Exception::IO.
  • Change Exception's default error to be empty and message to use Unknown error.
  • If Change throw() to take an exception class #24 is done, change calls to throw() to use Exception::IO appropriately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant