.. SPDX-FileCopyrightText: 2021 Intel Corporation .. .. SPDX-License-Identifier: CC-BY-4.0 .. _error-accessor: error_accessor Class ==================== .. rubric:: Description :class: sectiontitle The ``error_accessor`` class must provide an access (either on host or on a device) to the state of the error flag that is handled by the corresponding error handler. To construct an object of this class call the method ``error_handler::get_access()`` (:ref:`error_handler class`). .. rubric:: Include Files :class: sectiontitle ``oneapi/ipl.hpp`` .. rubric:: Domain Dependencies :class: sectiontitle Headers: ``oneapi/ipl.hpp`` Libraries: ``oneipl.lib`` .. rubric:: Syntax :class: sectiontitle .. doxygenclass:: oneapi::ipl::error_accessor :project: oneIPL :members: