Skip to content

Commit 784d10e

Browse files
authored
add error codes (#1272)
1 parent 10c1d33 commit 784d10e

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

src/bidspm/exit_codes.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"0": {
3+
"Value": 0,
4+
"Description": "SUCCESS. The program completed successfully."
5+
},
6+
"1": {
7+
"Value": 1,
8+
"Description": "FAILURE. The program failed for unspecified reasons."
9+
},
10+
"16": {
11+
"Value": 16,
12+
"Description": "An input dataset failed BIDS validation."
13+
},
14+
"17": {
15+
"Value": 17,
16+
"Description": "Unknown analysis level."
17+
},
18+
"18": {
19+
"Value": 18,
20+
"Description": "Entity-based filtering options selected no files."
21+
},
22+
"19": {
23+
"Value": 19,
24+
"Description": "Both command-line arguments and a parameter invocation file were passed to the application."
25+
},
26+
"64": {
27+
"Value": 64,
28+
"Description": "USAGE. The command was used incorrectly."
29+
},
30+
"65": {
31+
"Value": 65,
32+
"Description": "DATAERR. The input data was incorrect in some way."
33+
},
34+
"66": {
35+
"Value": 66,
36+
"Description": "NOINPUT. The input data was missing or unreadable."
37+
},
38+
"73": {
39+
"Value": 73,
40+
"Description": "CANTCREAT. An output file/directory cannot be created."
41+
},
42+
"74": {
43+
"Value": 64,
44+
"Description": "IOERR. Failure during file reading/writing."
45+
},
46+
"75": {
47+
"Value": 75,
48+
"Description": "TEMPFAIL. Temporary failure. Another run is expected to succeed."
49+
}
50+
}

0 commit comments

Comments
 (0)