Skip to content

Latest commit

 

History

History
74 lines (65 loc) · 2.5 KB

Examples.wiki

File metadata and controls

74 lines (65 loc) · 2.5 KB
  1. Some examples

RQL to the rescue

I had a Java file with lots and lots of Constants which I had to put into our Wiki to document the possible errors our system could return, here is a piece of that code, I changed the errors to be more generic:

There were a lot of them, and since I'm a lazy programmer I had to think of something easier than convert this manualy...

I came up with something like this, using Reflection-dsl

The output with this example would have been: