Improve processing exception (instead of simple 'Empty description' error)

+1 vote
asked Oct 1, 2020 in Wanted features by The-Lu (63,920 points)

Hello PlantUML team,

  • Could you improve processing exception?

Especially when the end tag ‘!endprocedure’ or ‘!endfunction’ is missing;

Instead of the simple ‘Empty description’ error message, could you mention that the end tag is missing.

Simple examples here (where the '!' of the end tag is voluntarily missing):

@startuml
!procedure $msg($source, $destination)
  $source --> $destination
endprocedure

$msg("a", "b")
@enduml


[See on PlantUML server]

or with function:

@startuml
!function $double($a)
!return $a + $a
endfunction

Alice -> Bob : The double of 3 is $double(3)
@enduml


[See on PlantUML server]

Thanks for your support,

Regards,
Th.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...