Error handling inconsistent.