Class: CatchStepDefinition
A class representing a catch step definition.
It extends the StepDefinition class and specifies the step type as Filter.
Extends
Constructors
Constructor
new CatchStepDefinition(
global,priority,transport,target,propertyKey,type,acceptedErrors):CatchStepDefinition
Parameters
global
boolean
priority
number
transport
target
propertyKey
string | symbol
type
acceptedErrors
ClassType<Error>[]
Returns
CatchStepDefinition
Overrides
Properties
acceptedErrors
readonlyacceptedErrors:ClassType<Error>[]
global
readonlyglobal:boolean
Inherited from
priority
readonlypriority:number
Inherited from
propertyKey
readonlypropertyKey:string|symbol
Inherited from
target
readonlytarget:ClassType
Inherited from
transport
readonlytransport:ExecutionTransport
Inherited from
type
readonlytype:Filter
Overrides
Methods
fromMetadata()
staticfromMetadata(sMM,sTM):StepDefinition
Creates a step definition from the provided metadata.
Parameters
sMM
The method metadata for the step.
sTM
The target metadata for the step.
Returns
A new step definition based on the metadata.