creationix / node-gir

Node bindings to libgirepository
http://live.gnome.org/GObjectIntrospection
MIT License
231 stars 58 forks source link

GError implementation #19

Open piotras opened 12 years ago

piotras commented 12 years ago

GError should extend Exception. Every derived exception should depend on GError's domain. For example, GFileError should be propagated as FileError exception with particular codes.