File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,6 @@ def __init__(self):
29
29
super ().__init__ ("Application was requested to reload entirely" )
30
30
31
31
32
- class RequestInvalid (MinerException ):
33
- """
34
- Raised when a request becomes no longer valid inside its retry loop.
35
-
36
- Intended for internal use only.
37
- """
38
- def __init__ (self ):
39
- super ().__init__ ("Request became invalid during its retry loop" )
40
-
41
-
42
32
class RequestException (MinerException ):
43
33
"""
44
34
Raised for cases where a web request doesn't return what we wanted it to.
@@ -50,6 +40,16 @@ def __init__(self, *args: object):
50
40
super ().__init__ ("Unknown error during request" )
51
41
52
42
43
+ class RequestInvalid (RequestException ):
44
+ """
45
+ Raised when a request becomes no longer valid inside its retry loop.
46
+
47
+ Intended for internal use only.
48
+ """
49
+ def __init__ (self ):
50
+ super ().__init__ ("Request became invalid during its retry loop" )
51
+
52
+
53
53
class WebsocketClosed (RequestException ):
54
54
"""
55
55
Raised when the websocket connection has been closed.
You can’t perform that action at this time.
0 commit comments