Added asserts, removed error struct for now.

I realized that asserts made more sense for the errors I was
dealing with, so for now the framework only has asserts.