File tree Expand file tree Collapse file tree 2 files changed +94
-0
lines changed
Expand file tree Collapse file tree 2 files changed +94
-0
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ Welcome to the AboutCode Toolkit's Documentation.
1111 General <general.rst >
1212 Specification <specification.rst >
1313 Reference <reference.rst >
14+ Type of Errors <type_of_errors.rst >
Original file line number Diff line number Diff line change 1+ .. _type_of_errors :
2+
3+ ==============
4+ Type of Errors
5+ ==============
6+
7+ We have 6 type of errors as describe below:
8+
9+ NOTSET
10+ ======
11+
12+ Trigger:
13+ --------
14+
15+ * None
16+
17+ Details
18+ ^^^^^^^
19+
20+ We do not have event to trigger this error.
21+
22+
23+ DEBUG
24+ =====
25+
26+ Trigger:
27+ --------
28+
29+ * None
30+
31+ Details
32+ ^^^^^^^
33+
34+ We do not have event to trigger this error.
35+
36+
37+ INFO
38+ ====
39+
40+ Trigger:
41+ --------
42+
43+ * `about_resource ` not found
44+ * Custom fields detected
45+ * Empty field value
46+
47+
48+ WARNING
49+ =======
50+
51+ Trigger:
52+ --------
53+
54+ * Duplicated value being ignored
55+ * Invalid Package URL from input
56+ * Invalid URL from input
57+
58+
59+ ERROR
60+ =====
61+
62+ Trigger:
63+ --------
64+
65+ * Invalid license
66+ * Invalid API call
67+ * Invalid character
68+ * Invalid input
69+ * Duplicated field name
70+ * Incorrect input format
71+ * Failure to write ABOUT file
72+ * Network problem
73+
74+
75+ CRITICAL
76+ ========
77+
78+ Trigger:
79+ --------
80+
81+ * Invalid template
82+ * File field not found
83+ * Duplicated `about_resource `
84+ * Not supported field format
85+ * Essential or required field not found
86+ * Internal error
87+ * Empty ABOUT file
88+ * Invalid ABOUT file
89+
90+
91+ .. note ::
92+ If `--verbose ` is set, all the detected errors will be reported.
93+ Otherwise, only "CRITICAL", "ERROR" and 'WARNING" will be reported.
You can’t perform that action at this time.
0 commit comments