How can I copy editor error messages to clipboard?

Sometimes I'd like to copy the editor error messages to the clipboard (e.g. when reporting a bug). Is this possible, and if so how?

Please sign in to leave a comment.