76 integer,
intent(in) :: line
77 character(len=*),
intent(in) :: file
78 character(len=*),
intent(in) :: msg
79 type(
string_t) :: file_s, line_s, msg_s
80 character*12,
parameter :: newline = new_line(
'a')//repeat(
' ',11)
83 file_s = trim(adjustl(file))
86 n = len_trim(file) + 7
89 msg_s = msg_s//newline//
'FILE: '//file_s
90 msg_s = msg_s//newline//
'LINE: '//line_s
91 msg_s = msg_s//newline//
'MSG:: '//trim(adjustl(msg))
92 msg_s = msg_s//newline//repeat(
'-',n)
102 logical,
dimension(:),
intent(in) :: condition
103 character(len=*),
intent(in) :: condition_str
104 integer,
intent(in) :: line
105 character(len=*),
intent(in) :: file
128 logical,
intent(in) :: condition
129 character(len=*),
intent(in) :: condition_str
130 integer,
intent(in) :: line
131 character(len=*),
intent(in) :: file
type(error_handling_t), parameter, public error_handling
pure subroutine error_handling_abort_routine(line, file, msg)
Causes an ERROR STOP, printing an error message, as well as the file name and line number where the e...
pure subroutine error_handling_assert_array_routine(condition, condition_str, line, file)
pure subroutine error_handling_assert_routine(condition, condition_str, line, file)
Causes an ERROR STOP, printing an error message, as well as the file name and line number where the e...