v0.14.0
Public Member Functions | Public Attributes | List of all members
MoFEM::Exceptions::MoFEMErrorCodeGeneric< PetscErrorCode > Struct Reference

#include <include/Exceptions.hpp>

Collaboration diagram for MoFEM::Exceptions::MoFEMErrorCodeGeneric< PetscErrorCode >:
[legend]

Public Member Functions

 MoFEMErrorCodeGeneric (const PetscErrorCode ierr)
 
 operator PetscErrorCode () const
 

Public Attributes

PetscErrorCode iERR
 

Detailed Description

Definition at line 62 of file Exceptions.hpp.

Constructor & Destructor Documentation

◆ MoFEMErrorCodeGeneric()

MoFEM::Exceptions::MoFEMErrorCodeGeneric< PetscErrorCode >::MoFEMErrorCodeGeneric ( const PetscErrorCode  ierr)
inline

Definition at line 64 of file Exceptions.hpp.

64 : iERR(ierr) {}

Member Function Documentation

◆ operator PetscErrorCode()

MoFEM::Exceptions::MoFEMErrorCodeGeneric< PetscErrorCode >::operator PetscErrorCode ( ) const
inline

Definition at line 65 of file Exceptions.hpp.

65 { return iERR; }

Member Data Documentation

◆ iERR

PetscErrorCode MoFEM::Exceptions::MoFEMErrorCodeGeneric< PetscErrorCode >::iERR

Definition at line 63 of file Exceptions.hpp.


The documentation for this struct was generated from the following file:
MoFEM::Exceptions::MoFEMErrorCodeGeneric< PetscErrorCode >::iERR
PetscErrorCode iERR
Definition: Exceptions.hpp:63
MoFEM::Exceptions::ierr
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
Definition: Exceptions.hpp:76