Error handling

Hello everybody

I have a question. Can a try catch sentence throw an error and throw it outside of the aggregate?

Thanks in advance

Richard

Hi Richard,

not sure what you mean, exactly. If an aggregate throws an exception, it “bubbles” up to the sender of the aggregate, through the callback or CompletableFuture.

Cheers,

Allard