Notice to use util.inherits to declare GdError type of errors instead of Object.create