Thread:Manual:JS/API/UI Extension Developer Library/Best practice? Offer possibility of auto-reporting errors

I think what User:Rillke has done here -- offering the user a way to automatically report errors -- should be considered a best practice and documented more thoroughly here.