Logs an error to stderr and stops the program. If status_code is PARALLAX_SUCCESS, this subroutine will do nothing.
If status_code has an undefined value, the subroutine will be executed but the undefined status_code will be printed. This usage should be avoided, instead valid status codes given in status_codes_m should be used.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | message |
Error or warning message |
||
| integer, | intent(in) | :: | status_code |
Error or warning code |
||
| integer, | intent(in) | :: | line_number |
Line number where error or warning occured, i.e. LINE |
||
| character(len=*), | intent(in) | :: | file_name |
File name where error or warning occured, i.e. FILE |
||
| type(error_info_t), | intent(in), | optional | :: | additional_info |
Additional information |