File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Checks the value of a logical condition.
18
18
19
19
` condition ` : Shall be a scalar of type ` logical ` .
20
20
21
- ` msg ` (optional): Shall be a character expression containing the message to be printed to ` stderr ` . The default ` msg ` is 'Check failed'.
21
+ ` msg ` (optional): Shall be a character expression containing the message to be printed to ` stderr ` . The default ` msg ` is 'Check failed. '.
22
22
23
23
` code ` (optional): Shall be a scalar of type ` integer ` . The default ` code ` is ` 1 ` .
24
24
@@ -101,6 +101,6 @@ Aborts the program with printing the message `msg` to `stderr` and a nonzero exi
101
101
program demo_error_stop
102
102
use stdlib_experimental_error, only: error_stop
103
103
implicit none
104
- call error_stop("Invalid argument")
104
+ call error_stop("Invalid argument", code = 123 )
105
105
end program demo_error_stop
106
106
```
You can’t perform that action at this time.
0 commit comments