@@ -48,17 +48,21 @@ class ErrorNodeManagerAuthenticationFailed<T> extends ErrorNodeManager<T> {
4848 exitCode = sysexits . NOPERM ;
4949}
5050
51- class ErrorNodeManagerAuthenticationFailedForward < T > extends ErrorNodes < T > {
51+ class ErrorNodeManagerAuthenticationFailedForward <
52+ T ,
53+ > extends ErrorNodeManager < T > {
5254 static description = 'Failed to complete forward authentication' ;
5355 exitCode = sysexits . USAGE ;
5456}
5557
56- class ErrorNodeManagerAuthenticationFailedReverse < T > extends ErrorNodes < T > {
58+ class ErrorNodeManagerAuthenticationFailedReverse <
59+ T ,
60+ > extends ErrorNodeManager < T > {
5761 static description = 'Failed to complete reverse authentication' ;
5862 exitCode = sysexits . USAGE ;
5963}
6064
61- class ErrorNodeManagerAuthenticatonTimedOut < T > extends ErrorNodes < T > {
65+ class ErrorNodeManagerAuthenticationTimedOut < T > extends ErrorNodeManager < T > {
6266 static description = 'Failed to complete authentication before timing out' ;
6367 exitCode = sysexits . USAGE ;
6468}
@@ -154,7 +158,7 @@ class ErrorNodeConnectionTransportGenericError<
154158 exitCode = sysexits . USAGE ;
155159}
156160
157- class ErrorConnectionNodesEmpty < T > extends ErrorNodeConnection < T > {
161+ class ErrorNodeConnectionEmpty < T > extends ErrorNodeConnection < T > {
158162 static description = 'Nodes list to verify against was empty' ;
159163 exitCode = sysexits . USAGE ;
160164}
@@ -256,6 +260,30 @@ class ErrorNodeAuthenticationFailed<T> extends ErrorNodes<T> {
256260 exitCode = sysexits . NOPERM ;
257261}
258262
263+ class ErrorNodeAuthenticationInvalidProtocol < T > extends ErrorNodes < T > {
264+ static description = 'Invalid protocol used for node authentication' ;
265+ exitCode = sysexits . USAGE ;
266+ }
267+
268+ class ErrorNodeConnectionSignalRequestVerificationFailed <
269+ T ,
270+ > extends ErrorNodeConnection < T > {
271+ static description = 'Failed to verify request message signature' ;
272+ exitCode = sysexits . UNAVAILABLE ;
273+ }
274+
275+ class ErrorNodeConnectionSignalRelayVerificationFailed <
276+ T ,
277+ > extends ErrorNodeConnection < T > {
278+ static description = 'Failed to verify relay message signature' ;
279+ exitCode = sysexits . UNAVAILABLE ;
280+ }
281+
282+ class ErrorNodeClaimNetworkVerificationFailed < T > extends ErrorNodes < T > {
283+ static description = 'Failed to verify claim network message' ;
284+ exitCode = sysexits . UNAVAILABLE ;
285+ }
286+
259287export {
260288 ErrorNodes ,
261289 ErrorNodeManager ,
@@ -269,7 +297,7 @@ export {
269297 ErrorNodeManagerAuthenticationFailed ,
270298 ErrorNodeManagerAuthenticationFailedForward ,
271299 ErrorNodeManagerAuthenticationFailedReverse ,
272- ErrorNodeManagerAuthenticatonTimedOut ,
300+ ErrorNodeManagerAuthenticationTimedOut ,
273301 ErrorNodeGraph ,
274302 ErrorNodeGraphRunning ,
275303 ErrorNodeGraphNotRunning ,
@@ -288,7 +316,7 @@ export {
288316 ErrorNodeConnectionInternalError ,
289317 ErrorNodeConnectionTransportUnknownError ,
290318 ErrorNodeConnectionTransportGenericError ,
291- ErrorConnectionNodesEmpty ,
319+ ErrorNodeConnectionEmpty ,
292320 ErrorNodeConnectionManager ,
293321 ErrorNodeConnectionManagerNotRunning ,
294322 ErrorNodeConnectionManagerStopping ,
@@ -304,4 +332,8 @@ export {
304332 ErrorNodePermissionDenied ,
305333 ErrorNodeLookupNotFound ,
306334 ErrorNodeAuthenticationFailed ,
335+ ErrorNodeAuthenticationInvalidProtocol ,
336+ ErrorNodeClaimNetworkVerificationFailed ,
337+ ErrorNodeConnectionSignalRelayVerificationFailed ,
338+ ErrorNodeConnectionSignalRequestVerificationFailed ,
307339} ;
0 commit comments