Flag interrupted indicates that the error was caused due to an interruption.
Flag interrupted indicates that the error was caused due to an interruption. (e.g., by invoking Future.raise.)
Flag rejected indicates that the work was rejected and therefore cannot be completed.
Flag rejected indicates that the work was rejected and therefore cannot be completed. This may indicate an overload condition.
Flag restartable indicates that the action that caused the failure is restartable -- that is, it is safe to simply re-issue the action.
Flag wrapped indicates that this failure was wrapped, and should not be presented to the user (directly, or via stats).
Flag wrapped indicates that this failure was wrapped, and should not be presented to the user (directly, or via stats). Rather, it must first be unwrapped: the inner cause is the presentable failure.
Adapt an exception.
Adapt an exception. If the passed-in exception is already a failure, this returns a chained failure with the assigned flags. If it is not, it returns a new failure with the given flags.
Create a new failure with the given message; no flags.
Create a new failure with the given message and flags.
Create a new failure with the given message and cause; no flags.
Create a new failure with the given message, cause, and flags.
Create a new failure with the given cause; no flags.
Create a new failure with the given cause and flags.
Expose flags as strings, used for stats reporting
A module to strip out dangerous flags.
Create a new Restartable and Rejected failure with the given message and cause.
Create a new Restartable and Rejected failure with the given cause.
Create a new Restartable and Rejected failure with the given message.
A default Restartable failure.
Extractor for Failure; returns its cause.
Create a new wrapped Failure with no flags.
Create a new wrapped Failure with no flags. If the passed-in exception is a failure, it is simply extended, otherwise a new Failure is created.
Create a new wrapped Failure with the given flags.
Create a new wrapped Failure with the given flags. If the passed-in exception is a failure, it is simply extended, otherwise a new Failure is created.