User Tools

Site Tools


dev:error_handling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:error_handling [2018/10/08 19:59] oschuettdev:error_handling [2025/03/08 13:41] (current) oschuett
Line 5: Line 5:
    CPWARN("A short warning message")    CPWARN("A short warning message")
    CPABORT("A short error message")    CPABORT("A short error message")
-   CPASSERT(2>1) ! For sanity checks only, not for user errors.+   CPASSERT(2 > 1) ! For sanity checks only, not for user errors.
 </code> </code>
  
Line 15: Line 15:
  
    CALL cp_abort(__LOCATION__,"A long error message "//&    CALL cp_abort(__LOCATION__,"A long error message "//&
-                 "with even more valuable advises."     +                 "with even more valuable advice."     
 </code> </code>
  
dev/error_handling.1539028778.txt.gz · Last modified: 2020/08/21 10:14 (external edit)