base/thrower: Allow hierarchies to be built with DEFINE_ERROR