Error detection for Better console output

New error classs have been defined in "lib/errors.js".
Calling code detects this errors and outputs necessary
messages to console, as implemented in "index.js".

Cache creates necessary errors in "lib/cache.js" that are
passed to callbacks.

Errors are exported off the lib module by "lib/index.js".