Skip to main content

Interface: ExecutionContext

An interface representing the execution context for a request of any kind. It extends the ExecutionHandler interface and includes additional properties such as error, transport, and scopedContainer. The error property is optional and can hold an error object if an error occurred during execution. The transport property indicates the transport mechanism used for the execution, and the scopedContainer property provides access to a scoped dependency injection container for managing dependencies within the execution context.

Extends​

Extended by​

Properties​

error?​

optional error?: Error


propertyKey​

propertyKey: string | symbol

Inherited from​

ExecutionHandler.propertyKey


scopedContainer​

scopedContainer: ScopedContainer


target​

target: ClassType

Inherited from​

ExecutionHandler.target


transport​

transport: ExecutionTransport