class documentation

class ContinueAsNewError(BaseException): (source)

View In Hierarchy

Error thrown by continue_as_new.

This should not be caught, but instead be allowed to throw out of the workflow which then triggers the continue as new. This should never be instantiated directly.

Method __init__ Direct instantiation is disabled. Use continue_as_new.
def __init__(self, *args: object): (source)

Direct instantiation is disabled. Use continue_as_new.