class X::Promise::CauseOnlyValidOnBroken
class X::Promise::CauseOnlyValidOnBroken is Exception { }
This exception is thrown when code expects a Promise to be broken, and asks why it has been broken, but the Promise has in fact, not yet been broken.
Methods
method promise
method promise()
Returns the Promise that was asked about.
method status
method status()
Returns the status the Promise had at that time.