You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
very often I would like to implement an exception in the library that can return the URL to the documentation that describes the problem. Currently, I solve this by implementing my own Bluescreen, which can display a link to the documentation.
What about allowing the link to be displayed directly on the top red bar so that other libraries can implement a similar feature? For example, Nette itself describes a number of issues in the documentation and could bind the code to the documentation.
For this to work in general, I suggest testing the existence of the getDocumentationUrl() method (directly in exception), which will either return a valid URL (then a button will appear), or anything else or will not exist.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
very often I would like to implement an exception in the library that can return the URL to the documentation that describes the problem. Currently, I solve this by implementing my own Bluescreen, which can display a link to the documentation.
What about allowing the link to be displayed directly on the top red bar so that other libraries can implement a similar feature? For example, Nette itself describes a number of issues in the documentation and could bind the code to the documentation.
For this to work in general, I suggest testing the existence of the
getDocumentationUrl()
method (directly in exception), which will either return a valid URL (then a button will appear), or anything else or will not exist.Thanks!
The text was updated successfully, but these errors were encountered: