Skip to content

ZNTC0706: No line break is allowed after 'throw'

No line break is allowed after ‘throw’

Category: Parser: Statement/Control Flow

throw
new Error();

Reproduce in Playground →

See the error message for cause and resolution.