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.
See Also
class Exception
Anomalous event capable of interrupting normal control-flow
class X::Bind
Error due to binding to something that is not a variable or container
The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society.
All rights reserved.
Built with Podlite ā the markup and publishing tools behind this site.