Qua locus

Keeping both eyes on the long game.

Posts Tagged ‘mongodb

User-friendly, developer-friendly error handling with Lithium

This blog has been split in three and all content moved to the new blogs – Qua Locus LifeQua Locus Tech and Qua Locus Puzzle – comments are disabled here.

Lithium’s error-handling infrastructure is very comprehensive, making it possible to handle errors in a rich and flexible way. However the documentation is still being fleshed out as the framework approaches version 1.0, so it’s not obvious yet how to take full advantage of it. In this post I describe the general error-handling features I’ve built for my web apps using Lithium’s error-handling infrastructure, including user-friendly error pages, distinguishing between different types of error, logging the error information to the database and also allowing users to contribute additional notes for some types of errors.

Read the rest of this entry »


Written by CGF

September 29, 02012 at 14:42

Posted in Tech

Tagged with , , ,