• Iustin Pop's avatar
    Convert Cluster.loadData to Result return · fd22ce8e
    Iustin Pop authored
    This patch changes Cluster.loadData to return a Result, instead of
    directly the values; this will allow us to return meaningful error
    values (e.g. when an instances lives on unknown node) rather than simply
    abort. Currently the result is always an Ok, the actual signalling of
    errors will come later.
    
    Its callers are changed to accommodate for the new return type and to
    display errors as needed.
    fd22ce8e
Cluster.hs 30.5 KB