I just wrote a question on Stack Overflow.
Now I was thinking if it would be a good idea to include the full stacktrace to the error or just the error message.
From my point of view, the stacktrace would not add much more helpful information and it was about 30 lines long, so I choose not to post it.
It would be great to have an expandable code block
where I can just write something like this
<code expand="auto" lines="3">
code line 1
code line 2
code line 3
code line 5
...
code line 100
</code>
this would be shown as
code line 1
code line 2
code line 3
and if I click expand the full code would be shown.
expand
could be either true, false or auto
where auto would expand the code on desktop and hide it on mobile.
FooBar
(full stack trace at the end of the question)."