method cause

Documentation for method cause assembled from the following types:

class Promise

From Promise

(Promise) method cause

method cause(Promise:D:)

If the promise was broken, returns the result (or exception). Otherwise, throws an exception of type X::Promise::CauseOnlyValidOnBroken.