Moved Error into it's own file.