2009/10/30 IƱaki Baz Castillo <ibc / aliax.net>: > void Init_utils() { > ... > // Create a exception XDMSURLParsingError. > class_error = rb_define_class("MyProjectError", rb_eStandardError); > class_url_parsing_error = rb_define_class("URLParsingError", class_error); > } > > Should I do something special to export these classes to Ruby? Of > course a workaround would be creating these classes also in Ruby, but > seems a bit "dirty" :) Sorry, my fault. The class is visible but it's not in the module I've created so I ddin't capture the correct exception.