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

Use exceptions: throw exceptions on errors instead of returning false or null #18

Closed
backbone87 opened this issue Nov 25, 2012 · 2 comments

Comments

@backbone87
Copy link
Member

Subjects: "File::getContents", "File::setContents"

@ghost ghost assigned tristanlins Nov 28, 2012
@tristanlins
Copy link
Member

All methods should throw exceptions in some cases:

  • File not found
  • File not readable
  • File not writeable
  • Could not create file, directory not writeable

...to be concluded

@ghost ghost assigned backbone87 Dec 11, 2012
@discordier
Copy link
Member

See #68

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

3 participants