Update and fix docs, test wrt StandardError -> ValueError, TypeError