Ok, following your feedback and the example given by Fabien, I rewrote my initial suggestion and added a new one concerning routing errors.
https://github.com/fabriceb/symfony/commits/errormessages/ Bernhard: I will try to spot as many as I can, but better than that, I told the whole team at Theodo to do the same, I hope it will bring some more contributions into it. Thomas: the knowledge database would be cool, but like documentation, it is hard work and needs maintenance. Cheers, Fabrice On Feb 8, 11:49 am, Thomas Rabaix <[email protected]> wrote: > Hello, > > +1 for more detailed error messages. I just though about a knowledge > database, maybe an exception can be linked to a specific error code. > > like kb.symfony-releoaded.org/00001, which explain the error : > - brief explanation + solution > - link to the official documentation > - users' comments > > On 8 févr. 2011, at 03:16, Fabrice Bernhard wrote: > > > > > > > > > Dear all, > > > I am using my current lack of familiarity with Symfony2 as a good > > motivation to improve usability of the framework for noobs and > > document it at the same time. > > > Right now for example I forgot to register my bundle and found the > > corresponding error message quite unclear. > > > Bundle "MyBundle" does not exist or it is not enabled. > > > I propose to rewrite in a more pedagogical way (https://github.com/ > > fabriceb/symfony/commit/fef2a6b501281371cb94a3a364a94ec018e09157): > > > But this raises an interesting question: what would actually be the > > general recommended way to report errors for you? > > - just a factual description of the error : Bundle "MyBundle" does > > not exist or it is not enabled. > > - The friendly type: Bundle "MyBundle" does not exist or it is not > > enabled. Did you forget to add it in the registerBundles() function of > > your AppKernel.php file? > > - The mentor type: Bundle "MyBundle" does not exist or it is not > > enabled. You probably forgot to add it in the registerBundles() > > function of your AppKernel.php file. > > > Maybe this is just a detail... but I have the impression that this is > > the kind of details that can transform regular 5-minutes frustrations > > into 10-seconds correct-and-enjoy moments. Let me know what you think > > about this! > > > Cheers, > > > Fabrice Bernhard > > -- > >http://www.allomatch.com > >http://www.theodo.fr > > +33 6 23 52 11 95 > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/symfony-devs?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
