Add the error getter error(), it is noexcept.