Navigation Menu

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

Derive CFPlistError from StandardError instead of Exception #39

Merged
merged 1 commit into from Apr 4, 2015
Merged

Derive CFPlistError from StandardError instead of Exception #39

merged 1 commit into from Apr 4, 2015

Conversation

ojab
Copy link
Contributor

@ojab ojab commented Apr 2, 2015

This allows us to use rescue without specifying exception class.

Right now it isn't possible to use something like

begin
  do_work
rescue
  binding.pry
end

for debugging if there is calls to CFPropertyList in do_work, because it catches StandardError, not Exception.

This allows us to use rescue without specifying exception class
ckruse added a commit that referenced this pull request Apr 4, 2015
Derive CFPlistError from StandardError instead of Exception
@ckruse ckruse merged commit 635b08a into ckruse:master Apr 4, 2015
@ckruse
Copy link
Owner

ckruse commented Apr 4, 2015

Thanks!

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.

None yet

2 participants