Skip to content

Add reference to ExceptionHandler in HandlerResult #9

Open
@Tetraquark

Description

@Tetraquark

It will be useful if HandlerResult will contains reference to parent ExceptionHandler that allow to create useful extension like next to build chains:

val lastExecutionResult = exceptionHandler.handle {
    repository.request1()
}.execute()
.next {
    repository.request2()
}.catch<IllegalStateException> {
    false
}.execute()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions