I think there is a generic Dynflow::Error somewhere, it should be used as parent here.