structurizr / java

Structurizr for Java
https://docs.structurizr.com/java
Apache License 2.0
1.01k stars 288 forks source link

Better / verbose error reporting #314

Open viraptor opened 2 months ago

viraptor commented 2 months ago

Description

The errors produced by structurizr are very opaque. When something fails, it should tell more details.

For example:

The element "customer" can not be added to this type of view at line 10

Useful context that would save me lots of time in this case would be something like:

The element "customer" can not be added to view of type XXX at line 10
"customer" has type XXX, defined in XXX at line XXX.
DSL reference for allowed types in this context is at https://XXX

Please save me from manually searching the code and hunting down why "computer says NO".

Priority

I have no budget and there's no rush, please add this feature for free

More information

No response