Skip to content

Class: Catch

Represents a catch block for handling exceptions thrown in a try block.

Constructors

Constructor

new Catch(patterns, body, loc?): Catch

Parameters

ParameterType
patternsPattern[]
bodyExpression
loc?SourceLocation

Returns

Catch

Overrides

ASTNode.constructor