ckruse / CFPropertyList

Read, write and manipulate both binary and XML property lists as defined by apple
MIT License
212 stars 47 forks source link

Derive CFPlistError from StandardError instead of Exception #39

Closed ojab closed 9 years ago

ojab commented 9 years ago

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.

ckruse commented 9 years ago

Thanks!