Bug 887202 - Add errors module to have a central location for custom errors. r=dhunt