File tree Expand file tree Collapse file tree 2 files changed +29
-23
lines changed Expand file tree Collapse file tree 2 files changed +29
-23
lines changed Original file line number Diff line number Diff line change @@ -23,29 +23,6 @@ To complete
23
23
To complete
24
24
-->
25
25
26
- ## 3. Specific Mithril status code
27
-
28
- date: 2025-03-21
29
- status: Accepted
30
-
31
- ### Context
32
-
33
- In exchanges between the signer and the aggregator, we need to retrieve the reason why a request was unsuccessful.
34
- Error handling will depend on the specific functional case of Mithril.
35
- We could have reused existing HTTP codes, but they are too general and could be returned for cases other than the one we wish to isolate.
36
-
37
- ### Decision
38
-
39
- We therefore decided to return specific server error codes starting at 550.
40
-
41
- Status codes introduced:
42
-
43
- - 550: registration round not yet opened
44
-
45
- ### Consequences
46
-
47
- Specific Mithril HTTP status code on server error should be greater or equal to 550.
48
-
49
26
## 2. Remove Artifacts serialization support when compiling to WebAssembly
50
27
51
28
date: 2025-02-26
Original file line number Diff line number Diff line change
1
+ ---
2
+ slug : 10
3
+ title : |
4
+ 10. Specific Mithril Http status code
5
+ authors :
6
+ - name : Mithril Team
7
+ tags : [Accepted]
8
+ date : 2025-03-21
9
+ ---
10
+
11
+ ## Status
12
+
13
+ Accepted
14
+
15
+ ## Context
16
+
17
+ In exchanges between the signer and the aggregator, we need to retrieve the reason why a request was unsuccessful.
18
+ Error handling will depend on the specific functional case of Mithril.
19
+ We could have reused existing HTTP codes, but they are too general and could be returned for cases other than the one we wish to isolate.
20
+
21
+ ## Decision
22
+
23
+ We therefore decided to return specific error codes when we need to identify the functional case.
24
+ We start at 450 for client error codes and at 550 for server error codes.
25
+
26
+ ## Consequences
27
+
28
+ Specific Mithril HTTP status code on server error should be between 550 and 599.
29
+ For client error the HTTP status code should be between 450 and 499.
You can’t perform that action at this time.
0 commit comments