Throw exceptions on fatal error instead