Made an errors package.

This is kinda a trial. I have been thinking recently it would be good to
have a cannonical place to list all of the errors a library is likely to
throw. My thoughts are still in flux but this kinda represents what I am
thinking about.

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>