File

src/session/functional_error_handler.ts

Index

Methods

Constructor

constructor(sessionRegistry: SessionRegistry)
Parameters :
Name Type Optional
sessionRegistry SessionRegistry No

Methods

handle
handle(sessionName: string, error: any)

Attempts to convert the error into a functional action to communicate the failure reason. If the error is not recognized, {@code null} is returned.

Parameters :
Name Type Optional
sessionName string No
error any No
Returns : Action | null

result-matching ""

    No results matching ""