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 [2020/08/21 10:15] – external edit 127.0.0.1dev: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.1598004913.txt.gz · Last modified: 2020/08/21 10:15 by 127.0.0.1