Added #endif to error.h

Whoops! Forgot that!