Skip to content

Commit

Permalink
more precise error
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed Nov 6, 2023
1 parent 7850e0a commit 191c08c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,12 @@ CSNBehaviorModelExporterAngular >> visitFASTTBooleanLiteral: aFASTBooleanLiteral

{ #category : #generated }
CSNBehaviorModelExporterAngular >> visitFASTTEntity: aFASTEntity [

self debugMode
ifTrue: [ self error: 'You need to implement a visitor because we must not export an ''Entity''' ]
ifTrue: [
self error:
'You need to implement a visitor because we must not export an ''Entity''. Issue raised with '
, aFASTEntity class name ]
ifFalse: [ super visitFASTEntity: aFASTEntity ]
]

Expand Down

0 comments on commit 191c08c

Please sign in to comment.