PETSc version 3.17.0
Fix/Edit manual page

# CHKERRQ

Checks error code returned from PETSc function

### Synopsis

    #include <petscsys.h>
    void CHKERRQ(PetscErrorCode ierr)

Not Collective

### Input Parameters

| ierr | - nonzero error code

### Notes

Deprecated in favor of PetscCall(). This routine behaves identically to it.

### See Also

PetscCall()

### Level

deprecated

### Location

src/sys/error/../../../include/petscerror.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages