Created my own error types

I think I'll put these in their own file next.