@@ -112,20 +112,22 @@ const (
112112 XgressAddressHeader = int32 (edge_client_pb .HeaderId_XgressAddress )
113113 InspectRequestValuesHeader = int32 (edge_client_pb .HeaderId_InspectRequestedValues )
114114 SupportsPostureChecksHeader = int32 (edge_client_pb .HeaderId_SupportsPostureChecks )
115+ StructuredError = int32 (edge_client_pb .HeaderId_StructuredError )
115116)
116117
117118const (
118- ErrorCodeInternal = int32 (edge_client_pb .Error_Internal )
119- ErrorCodeInvalidApiSession = int32 (edge_client_pb .Error_InvalidApiSession )
120- ErrorCodeInvalidSession = int32 (edge_client_pb .Error_InvalidSession )
121- ErrorCodeWrongSessionType = int32 (edge_client_pb .Error_WrongSessionType )
122- ErrorCodeInvalidEdgeRouterForSession = int32 (edge_client_pb .Error_InvalidEdgeRouterForSession )
123- ErrorCodeInvalidService = int32 (edge_client_pb .Error_InvalidService )
124- ErrorCodeTunnelingNotEnabled = int32 (edge_client_pb .Error_TunnelingNotEnabled )
125- ErrorCodeInvalidTerminator = int32 (edge_client_pb .Error_InvalidTerminator )
126- ErrorCodeInvalidPrecedence = int32 (edge_client_pb .Error_InvalidPrecedence )
127- ErrorCodeInvalidCost = int32 (edge_client_pb .Error_InvalidCost )
128- ErrorCodeEncryptionDataMissing = int32 (edge_client_pb .Error_EncryptionDataMissing )
119+ ErrorCodeInternal = uint32 (edge_client_pb .Error_Internal )
120+ ErrorCodeInvalidApiSession = uint32 (edge_client_pb .Error_InvalidApiSession )
121+ ErrorCodeInvalidSession = uint32 (edge_client_pb .Error_InvalidSession )
122+ ErrorCodeWrongSessionType = uint32 (edge_client_pb .Error_WrongSessionType )
123+ ErrorCodeInvalidEdgeRouterForSession = uint32 (edge_client_pb .Error_InvalidEdgeRouterForSession )
124+ ErrorCodeInvalidService = uint32 (edge_client_pb .Error_InvalidService )
125+ ErrorCodeTunnelingNotEnabled = uint32 (edge_client_pb .Error_TunnelingNotEnabled )
126+ ErrorCodeInvalidTerminator = uint32 (edge_client_pb .Error_InvalidTerminator )
127+ ErrorCodeInvalidPrecedence = uint32 (edge_client_pb .Error_InvalidPrecedence )
128+ ErrorCodeInvalidCost = uint32 (edge_client_pb .Error_InvalidCost )
129+ ErrorCodeEncryptionDataMissing = uint32 (edge_client_pb .Error_EncryptionDataMissing )
130+ ErrorCodeInvalidApiSessionType = uint32 (edge_client_pb .Error_InvalidApiSessionType )
129131)
130132
131133const (
0 commit comments