-
Notifications
You must be signed in to change notification settings - Fork 383
/
errcode.pb.go
1011 lines (977 loc) · 44.8 KB
/
errcode.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: errcode.proto
package errcode
import (
fmt "fmt"
io "io"
math "math"
math_bits "math/bits"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
var (
_ = proto.Marshal
_ = fmt.Errorf
_ = math.Inf
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type ErrCode int32
const (
Undefined ErrCode = 0
TODO ErrCode = 666
ErrNotImplemented ErrCode = 777
ErrInternal ErrCode = 888
ErrInvalidInput ErrCode = 100
ErrInvalidRange ErrCode = 101
ErrMissingInput ErrCode = 102
ErrSerialization ErrCode = 103
ErrDeserialization ErrCode = 104
ErrStreamRead ErrCode = 105
ErrStreamWrite ErrCode = 106
ErrStreamTransform ErrCode = 110
ErrStreamSendAndClose ErrCode = 111
ErrStreamHeaderWrite ErrCode = 112
ErrStreamHeaderRead ErrCode = 115
ErrStreamSink ErrCode = 113
ErrStreamCloseAndRecv ErrCode = 114
ErrMissingMapKey ErrCode = 107
ErrDBWrite ErrCode = 108
ErrDBRead ErrCode = 109
ErrDBDestroy ErrCode = 120
ErrDBMigrate ErrCode = 121
ErrDBReplay ErrCode = 122
ErrDBRestore ErrCode = 123
ErrDBOpen ErrCode = 124
ErrDBClose ErrCode = 125
ErrCryptoRandomGeneration ErrCode = 200
ErrCryptoKeyGeneration ErrCode = 201
ErrCryptoNonceGeneration ErrCode = 202
ErrCryptoSignature ErrCode = 203
ErrCryptoSignatureVerification ErrCode = 204
ErrCryptoDecrypt ErrCode = 205
ErrCryptoDecryptPayload ErrCode = 206
ErrCryptoEncrypt ErrCode = 207
ErrCryptoKeyConversion ErrCode = 208
ErrCryptoCipherInit ErrCode = 209
ErrCryptoKeyDerivation ErrCode = 210
ErrMap ErrCode = 300
ErrForEach ErrCode = 301
ErrKeystoreGet ErrCode = 400
ErrKeystorePut ErrCode = 401
ErrNotFound ErrCode = 404
ErrOrbitDBInit ErrCode = 1000
ErrOrbitDBOpen ErrCode = 1001
ErrOrbitDBAppend ErrCode = 1002
ErrOrbitDBDeserialization ErrCode = 1003
ErrOrbitDBStoreCast ErrCode = 1004
ErrIPFSAdd ErrCode = 1050
ErrIPFSGet ErrCode = 1051
ErrIPFSInit ErrCode = 1052
ErrIPFSSetupConfig ErrCode = 1053
ErrIPFSSetupRepo ErrCode = 1054
ErrIPFSSetupHost ErrCode = 1055
ErrHandshakeOwnEphemeralKeyGenSend ErrCode = 1100
ErrHandshakePeerEphemeralKeyRecv ErrCode = 1101
ErrHandshakeRequesterAuthenticateBoxKeyGen ErrCode = 1102
ErrHandshakeResponderAcceptBoxKeyGen ErrCode = 1103
ErrHandshakeRequesterHello ErrCode = 1104
ErrHandshakeResponderHello ErrCode = 1105
ErrHandshakeRequesterAuthenticate ErrCode = 1106
ErrHandshakeResponderAccept ErrCode = 1107
ErrHandshakeRequesterAcknowledge ErrCode = 1108
ErrContactRequestSameAccount ErrCode = 1200
ErrContactRequestContactAlreadyAdded ErrCode = 1201
ErrContactRequestContactBlocked ErrCode = 1202
ErrContactRequestContactUndefined ErrCode = 1203
ErrContactRequestIncomingAlreadyReceived ErrCode = 1204
ErrGroupMemberLogEventOpen ErrCode = 1300
ErrGroupMemberLogEventSignature ErrCode = 1301
ErrGroupMemberUnknownGroupID ErrCode = 1302
ErrGroupSecretOtherDestMember ErrCode = 1303
ErrGroupSecretAlreadySentToMember ErrCode = 1304
ErrGroupInvalidType ErrCode = 1305
ErrGroupMissing ErrCode = 1306
ErrGroupActivate ErrCode = 1307
ErrGroupDeactivate ErrCode = 1308
ErrGroupInfo ErrCode = 1309
// Event errors
ErrEventListMetadata ErrCode = 1400
ErrEventListMessage ErrCode = 1401
ErrMessageKeyPersistencePut ErrCode = 1500
ErrMessageKeyPersistenceGet ErrCode = 1501
ErrBridgeInterrupted ErrCode = 1600
ErrBridgeNotRunning ErrCode = 1601
ErrMessengerInvalidDeepLink ErrCode = 2000
ErrMessengerDeepLinkRequiresPassphrase ErrCode = 2001
ErrMessengerDeepLinkInvalidPassphrase ErrCode = 2002
ErrMessengerStreamEvent ErrCode = 2003
ErrMessengerContactMetadataUnmarshal ErrCode = 2004
ErrDBEntryAlreadyExists ErrCode = 2100
ErrDBAddConversation ErrCode = 2101
ErrDBAddContactRequestOutgoingSent ErrCode = 2102
ErrDBAddContactRequestOutgoingEnqueud ErrCode = 2103
ErrDBAddContactRequestIncomingReceived ErrCode = 2104
ErrDBAddContactRequestIncomingAccepted ErrCode = 2105
ErrDBAddGroupMemberDeviceAdded ErrCode = 2106
ErrDBMultipleRecords ErrCode = 2107
ErrReplayProcessGroupMetadata ErrCode = 2200
ErrReplayProcessGroupMessage ErrCode = 2201
ErrAttachmentPrepare ErrCode = 2300
ErrAttachmentRetrieve ErrCode = 2301
ErrProtocolSend ErrCode = 2302
ErrProtocolEventUnmarshal ErrCode = 2303
ErrProtocolGetGroupInfo ErrCode = 2304
// Test Error
ErrTestEcho ErrCode = 2401
ErrTestEchoRecv ErrCode = 2402
ErrTestEchoSend ErrCode = 2403
ErrCLINoTermcaps ErrCode = 3001
ErrServicesAuth ErrCode = 4000
ErrServicesAuthNotInitialized ErrCode = 4001
ErrServicesAuthWrongState ErrCode = 4002
ErrServicesAuthInvalidResponse ErrCode = 4003
ErrServicesAuthServer ErrCode = 4004
ErrServicesAuthCodeChallenge ErrCode = 4005
ErrServicesAuthServiceInvalidToken ErrCode = 4006
ErrServicesAuthServiceNotSupported ErrCode = 4007
ErrServicesAuthUnknownToken ErrCode = 4008
ErrServicesAuthInvalidURL ErrCode = 4009
ErrServiceReplication ErrCode = 4100
ErrServiceReplicationServer ErrCode = 4101
ErrServiceReplicationMissingEndpoint ErrCode = 4102
ErrServicesDirectory ErrCode = 4200
ErrServicesDirectoryInvalidVerifiedCredentialSubject ErrCode = 4201
ErrServicesDirectoryExistingRecordNotFound ErrCode = 4202
ErrServicesDirectoryRecordLockedAndCantBeReplaced ErrCode = 4203
ErrServicesDirectoryExplicitReplaceFlagRequired ErrCode = 4204
ErrServicesDirectoryInvalidVerifiedCredential ErrCode = 4205
ErrServicesDirectoryExpiredVerifiedCredential ErrCode = 4206
ErrServicesDirectoryInvalidVerifiedCredentialID ErrCode = 4207
ErrBertyAccount ErrCode = 5000
ErrBertyAccountNoIDSpecified ErrCode = 5001
ErrBertyAccountAlreadyOpened ErrCode = 5002
ErrBertyAccountInvalidIDFormat ErrCode = 5003
ErrBertyAccountLoggerDecorator ErrCode = 5004
ErrBertyAccountGRPCClient ErrCode = 5005
ErrBertyAccountOpenAccount ErrCode = 5006
ErrBertyAccountDataNotFound ErrCode = 5007
ErrBertyAccountMetadataUpdate ErrCode = 5008
ErrBertyAccountManagerOpen ErrCode = 5009
ErrBertyAccountManagerClose ErrCode = 5010
ErrBertyAccountInvalidCLIArgs ErrCode = 5011
ErrBertyAccountFSError ErrCode = 5012
ErrBertyAccountAlreadyExists ErrCode = 5013
ErrBertyAccountNoBackupSpecified ErrCode = 5014
ErrBertyAccountIDGenFailed ErrCode = 5015
ErrBertyAccountCreationFailed ErrCode = 5016
ErrBertyAccountUpdateFailed ErrCode = 5017
ErrAppStorageNotSupported ErrCode = 5018
ErrPush ErrCode = 6000
ErrPushWrongAccount ErrCode = 6001
ErrPushUnableToDecrypt ErrCode = 6002
ErrPushInvalidPayload ErrCode = 6003
ErrPushInvalidServerConfig ErrCode = 6004
ErrPushMissingBundleID ErrCode = 6005
ErrPushUnknownDestination ErrCode = 6006
ErrPushProvider ErrCode = 6007
ErrPushUnknownProvider ErrCode = 6008
ErrNoProvidersConfigured ErrCode = 6009
ErrInvalidPrivateKey ErrCode = 6010
)
var ErrCode_name = map[int32]string{
0: "Undefined",
666: "TODO",
777: "ErrNotImplemented",
888: "ErrInternal",
100: "ErrInvalidInput",
101: "ErrInvalidRange",
102: "ErrMissingInput",
103: "ErrSerialization",
104: "ErrDeserialization",
105: "ErrStreamRead",
106: "ErrStreamWrite",
110: "ErrStreamTransform",
111: "ErrStreamSendAndClose",
112: "ErrStreamHeaderWrite",
115: "ErrStreamHeaderRead",
113: "ErrStreamSink",
114: "ErrStreamCloseAndRecv",
107: "ErrMissingMapKey",
108: "ErrDBWrite",
109: "ErrDBRead",
120: "ErrDBDestroy",
121: "ErrDBMigrate",
122: "ErrDBReplay",
123: "ErrDBRestore",
124: "ErrDBOpen",
125: "ErrDBClose",
200: "ErrCryptoRandomGeneration",
201: "ErrCryptoKeyGeneration",
202: "ErrCryptoNonceGeneration",
203: "ErrCryptoSignature",
204: "ErrCryptoSignatureVerification",
205: "ErrCryptoDecrypt",
206: "ErrCryptoDecryptPayload",
207: "ErrCryptoEncrypt",
208: "ErrCryptoKeyConversion",
209: "ErrCryptoCipherInit",
210: "ErrCryptoKeyDerivation",
300: "ErrMap",
301: "ErrForEach",
400: "ErrKeystoreGet",
401: "ErrKeystorePut",
404: "ErrNotFound",
1000: "ErrOrbitDBInit",
1001: "ErrOrbitDBOpen",
1002: "ErrOrbitDBAppend",
1003: "ErrOrbitDBDeserialization",
1004: "ErrOrbitDBStoreCast",
1050: "ErrIPFSAdd",
1051: "ErrIPFSGet",
1052: "ErrIPFSInit",
1053: "ErrIPFSSetupConfig",
1054: "ErrIPFSSetupRepo",
1055: "ErrIPFSSetupHost",
1100: "ErrHandshakeOwnEphemeralKeyGenSend",
1101: "ErrHandshakePeerEphemeralKeyRecv",
1102: "ErrHandshakeRequesterAuthenticateBoxKeyGen",
1103: "ErrHandshakeResponderAcceptBoxKeyGen",
1104: "ErrHandshakeRequesterHello",
1105: "ErrHandshakeResponderHello",
1106: "ErrHandshakeRequesterAuthenticate",
1107: "ErrHandshakeResponderAccept",
1108: "ErrHandshakeRequesterAcknowledge",
1200: "ErrContactRequestSameAccount",
1201: "ErrContactRequestContactAlreadyAdded",
1202: "ErrContactRequestContactBlocked",
1203: "ErrContactRequestContactUndefined",
1204: "ErrContactRequestIncomingAlreadyReceived",
1300: "ErrGroupMemberLogEventOpen",
1301: "ErrGroupMemberLogEventSignature",
1302: "ErrGroupMemberUnknownGroupID",
1303: "ErrGroupSecretOtherDestMember",
1304: "ErrGroupSecretAlreadySentToMember",
1305: "ErrGroupInvalidType",
1306: "ErrGroupMissing",
1307: "ErrGroupActivate",
1308: "ErrGroupDeactivate",
1309: "ErrGroupInfo",
1400: "ErrEventListMetadata",
1401: "ErrEventListMessage",
1500: "ErrMessageKeyPersistencePut",
1501: "ErrMessageKeyPersistenceGet",
1600: "ErrBridgeInterrupted",
1601: "ErrBridgeNotRunning",
2000: "ErrMessengerInvalidDeepLink",
2001: "ErrMessengerDeepLinkRequiresPassphrase",
2002: "ErrMessengerDeepLinkInvalidPassphrase",
2003: "ErrMessengerStreamEvent",
2004: "ErrMessengerContactMetadataUnmarshal",
2100: "ErrDBEntryAlreadyExists",
2101: "ErrDBAddConversation",
2102: "ErrDBAddContactRequestOutgoingSent",
2103: "ErrDBAddContactRequestOutgoingEnqueud",
2104: "ErrDBAddContactRequestIncomingReceived",
2105: "ErrDBAddContactRequestIncomingAccepted",
2106: "ErrDBAddGroupMemberDeviceAdded",
2107: "ErrDBMultipleRecords",
2200: "ErrReplayProcessGroupMetadata",
2201: "ErrReplayProcessGroupMessage",
2300: "ErrAttachmentPrepare",
2301: "ErrAttachmentRetrieve",
2302: "ErrProtocolSend",
2303: "ErrProtocolEventUnmarshal",
2304: "ErrProtocolGetGroupInfo",
2401: "ErrTestEcho",
2402: "ErrTestEchoRecv",
2403: "ErrTestEchoSend",
3001: "ErrCLINoTermcaps",
4000: "ErrServicesAuth",
4001: "ErrServicesAuthNotInitialized",
4002: "ErrServicesAuthWrongState",
4003: "ErrServicesAuthInvalidResponse",
4004: "ErrServicesAuthServer",
4005: "ErrServicesAuthCodeChallenge",
4006: "ErrServicesAuthServiceInvalidToken",
4007: "ErrServicesAuthServiceNotSupported",
4008: "ErrServicesAuthUnknownToken",
4009: "ErrServicesAuthInvalidURL",
4100: "ErrServiceReplication",
4101: "ErrServiceReplicationServer",
4102: "ErrServiceReplicationMissingEndpoint",
4200: "ErrServicesDirectory",
4201: "ErrServicesDirectoryInvalidVerifiedCredentialSubject",
4202: "ErrServicesDirectoryExistingRecordNotFound",
4203: "ErrServicesDirectoryRecordLockedAndCantBeReplaced",
4204: "ErrServicesDirectoryExplicitReplaceFlagRequired",
4205: "ErrServicesDirectoryInvalidVerifiedCredential",
4206: "ErrServicesDirectoryExpiredVerifiedCredential",
4207: "ErrServicesDirectoryInvalidVerifiedCredentialID",
5000: "ErrBertyAccount",
5001: "ErrBertyAccountNoIDSpecified",
5002: "ErrBertyAccountAlreadyOpened",
5003: "ErrBertyAccountInvalidIDFormat",
5004: "ErrBertyAccountLoggerDecorator",
5005: "ErrBertyAccountGRPCClient",
5006: "ErrBertyAccountOpenAccount",
5007: "ErrBertyAccountDataNotFound",
5008: "ErrBertyAccountMetadataUpdate",
5009: "ErrBertyAccountManagerOpen",
5010: "ErrBertyAccountManagerClose",
5011: "ErrBertyAccountInvalidCLIArgs",
5012: "ErrBertyAccountFSError",
5013: "ErrBertyAccountAlreadyExists",
5014: "ErrBertyAccountNoBackupSpecified",
5015: "ErrBertyAccountIDGenFailed",
5016: "ErrBertyAccountCreationFailed",
5017: "ErrBertyAccountUpdateFailed",
5018: "ErrAppStorageNotSupported",
6000: "ErrPush",
6001: "ErrPushWrongAccount",
6002: "ErrPushUnableToDecrypt",
6003: "ErrPushInvalidPayload",
6004: "ErrPushInvalidServerConfig",
6005: "ErrPushMissingBundleID",
6006: "ErrPushUnknownDestination",
6007: "ErrPushProvider",
6008: "ErrPushUnknownProvider",
6009: "ErrNoProvidersConfigured",
6010: "ErrInvalidPrivateKey",
}
var ErrCode_value = map[string]int32{
"Undefined": 0,
"TODO": 666,
"ErrNotImplemented": 777,
"ErrInternal": 888,
"ErrInvalidInput": 100,
"ErrInvalidRange": 101,
"ErrMissingInput": 102,
"ErrSerialization": 103,
"ErrDeserialization": 104,
"ErrStreamRead": 105,
"ErrStreamWrite": 106,
"ErrStreamTransform": 110,
"ErrStreamSendAndClose": 111,
"ErrStreamHeaderWrite": 112,
"ErrStreamHeaderRead": 115,
"ErrStreamSink": 113,
"ErrStreamCloseAndRecv": 114,
"ErrMissingMapKey": 107,
"ErrDBWrite": 108,
"ErrDBRead": 109,
"ErrDBDestroy": 120,
"ErrDBMigrate": 121,
"ErrDBReplay": 122,
"ErrDBRestore": 123,
"ErrDBOpen": 124,
"ErrDBClose": 125,
"ErrCryptoRandomGeneration": 200,
"ErrCryptoKeyGeneration": 201,
"ErrCryptoNonceGeneration": 202,
"ErrCryptoSignature": 203,
"ErrCryptoSignatureVerification": 204,
"ErrCryptoDecrypt": 205,
"ErrCryptoDecryptPayload": 206,
"ErrCryptoEncrypt": 207,
"ErrCryptoKeyConversion": 208,
"ErrCryptoCipherInit": 209,
"ErrCryptoKeyDerivation": 210,
"ErrMap": 300,
"ErrForEach": 301,
"ErrKeystoreGet": 400,
"ErrKeystorePut": 401,
"ErrNotFound": 404,
"ErrOrbitDBInit": 1000,
"ErrOrbitDBOpen": 1001,
"ErrOrbitDBAppend": 1002,
"ErrOrbitDBDeserialization": 1003,
"ErrOrbitDBStoreCast": 1004,
"ErrIPFSAdd": 1050,
"ErrIPFSGet": 1051,
"ErrIPFSInit": 1052,
"ErrIPFSSetupConfig": 1053,
"ErrIPFSSetupRepo": 1054,
"ErrIPFSSetupHost": 1055,
"ErrHandshakeOwnEphemeralKeyGenSend": 1100,
"ErrHandshakePeerEphemeralKeyRecv": 1101,
"ErrHandshakeRequesterAuthenticateBoxKeyGen": 1102,
"ErrHandshakeResponderAcceptBoxKeyGen": 1103,
"ErrHandshakeRequesterHello": 1104,
"ErrHandshakeResponderHello": 1105,
"ErrHandshakeRequesterAuthenticate": 1106,
"ErrHandshakeResponderAccept": 1107,
"ErrHandshakeRequesterAcknowledge": 1108,
"ErrContactRequestSameAccount": 1200,
"ErrContactRequestContactAlreadyAdded": 1201,
"ErrContactRequestContactBlocked": 1202,
"ErrContactRequestContactUndefined": 1203,
"ErrContactRequestIncomingAlreadyReceived": 1204,
"ErrGroupMemberLogEventOpen": 1300,
"ErrGroupMemberLogEventSignature": 1301,
"ErrGroupMemberUnknownGroupID": 1302,
"ErrGroupSecretOtherDestMember": 1303,
"ErrGroupSecretAlreadySentToMember": 1304,
"ErrGroupInvalidType": 1305,
"ErrGroupMissing": 1306,
"ErrGroupActivate": 1307,
"ErrGroupDeactivate": 1308,
"ErrGroupInfo": 1309,
"ErrEventListMetadata": 1400,
"ErrEventListMessage": 1401,
"ErrMessageKeyPersistencePut": 1500,
"ErrMessageKeyPersistenceGet": 1501,
"ErrBridgeInterrupted": 1600,
"ErrBridgeNotRunning": 1601,
"ErrMessengerInvalidDeepLink": 2000,
"ErrMessengerDeepLinkRequiresPassphrase": 2001,
"ErrMessengerDeepLinkInvalidPassphrase": 2002,
"ErrMessengerStreamEvent": 2003,
"ErrMessengerContactMetadataUnmarshal": 2004,
"ErrDBEntryAlreadyExists": 2100,
"ErrDBAddConversation": 2101,
"ErrDBAddContactRequestOutgoingSent": 2102,
"ErrDBAddContactRequestOutgoingEnqueud": 2103,
"ErrDBAddContactRequestIncomingReceived": 2104,
"ErrDBAddContactRequestIncomingAccepted": 2105,
"ErrDBAddGroupMemberDeviceAdded": 2106,
"ErrDBMultipleRecords": 2107,
"ErrReplayProcessGroupMetadata": 2200,
"ErrReplayProcessGroupMessage": 2201,
"ErrAttachmentPrepare": 2300,
"ErrAttachmentRetrieve": 2301,
"ErrProtocolSend": 2302,
"ErrProtocolEventUnmarshal": 2303,
"ErrProtocolGetGroupInfo": 2304,
"ErrTestEcho": 2401,
"ErrTestEchoRecv": 2402,
"ErrTestEchoSend": 2403,
"ErrCLINoTermcaps": 3001,
"ErrServicesAuth": 4000,
"ErrServicesAuthNotInitialized": 4001,
"ErrServicesAuthWrongState": 4002,
"ErrServicesAuthInvalidResponse": 4003,
"ErrServicesAuthServer": 4004,
"ErrServicesAuthCodeChallenge": 4005,
"ErrServicesAuthServiceInvalidToken": 4006,
"ErrServicesAuthServiceNotSupported": 4007,
"ErrServicesAuthUnknownToken": 4008,
"ErrServicesAuthInvalidURL": 4009,
"ErrServiceReplication": 4100,
"ErrServiceReplicationServer": 4101,
"ErrServiceReplicationMissingEndpoint": 4102,
"ErrServicesDirectory": 4200,
"ErrServicesDirectoryInvalidVerifiedCredentialSubject": 4201,
"ErrServicesDirectoryExistingRecordNotFound": 4202,
"ErrServicesDirectoryRecordLockedAndCantBeReplaced": 4203,
"ErrServicesDirectoryExplicitReplaceFlagRequired": 4204,
"ErrServicesDirectoryInvalidVerifiedCredential": 4205,
"ErrServicesDirectoryExpiredVerifiedCredential": 4206,
"ErrServicesDirectoryInvalidVerifiedCredentialID": 4207,
"ErrBertyAccount": 5000,
"ErrBertyAccountNoIDSpecified": 5001,
"ErrBertyAccountAlreadyOpened": 5002,
"ErrBertyAccountInvalidIDFormat": 5003,
"ErrBertyAccountLoggerDecorator": 5004,
"ErrBertyAccountGRPCClient": 5005,
"ErrBertyAccountOpenAccount": 5006,
"ErrBertyAccountDataNotFound": 5007,
"ErrBertyAccountMetadataUpdate": 5008,
"ErrBertyAccountManagerOpen": 5009,
"ErrBertyAccountManagerClose": 5010,
"ErrBertyAccountInvalidCLIArgs": 5011,
"ErrBertyAccountFSError": 5012,
"ErrBertyAccountAlreadyExists": 5013,
"ErrBertyAccountNoBackupSpecified": 5014,
"ErrBertyAccountIDGenFailed": 5015,
"ErrBertyAccountCreationFailed": 5016,
"ErrBertyAccountUpdateFailed": 5017,
"ErrAppStorageNotSupported": 5018,
"ErrPush": 6000,
"ErrPushWrongAccount": 6001,
"ErrPushUnableToDecrypt": 6002,
"ErrPushInvalidPayload": 6003,
"ErrPushInvalidServerConfig": 6004,
"ErrPushMissingBundleID": 6005,
"ErrPushUnknownDestination": 6006,
"ErrPushProvider": 6007,
"ErrPushUnknownProvider": 6008,
"ErrNoProvidersConfigured": 6009,
"ErrInvalidPrivateKey": 6010,
}
func (x ErrCode) String() string {
return proto.EnumName(ErrCode_name, int32(x))
}
func (ErrCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_4240057316120df7, []int{0}
}
type ErrDetails struct {
Codes []ErrCode `protobuf:"varint,1,rep,packed,name=codes,proto3,enum=berty.errcode.ErrCode" json:"codes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ErrDetails) Reset() { *m = ErrDetails{} }
func (m *ErrDetails) String() string { return proto.CompactTextString(m) }
func (*ErrDetails) ProtoMessage() {}
func (*ErrDetails) Descriptor() ([]byte, []int) {
return fileDescriptor_4240057316120df7, []int{0}
}
func (m *ErrDetails) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ErrDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ErrDetails.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ErrDetails) XXX_Merge(src proto.Message) {
xxx_messageInfo_ErrDetails.Merge(m, src)
}
func (m *ErrDetails) XXX_Size() int {
return m.Size()
}
func (m *ErrDetails) XXX_DiscardUnknown() {
xxx_messageInfo_ErrDetails.DiscardUnknown(m)
}
var xxx_messageInfo_ErrDetails proto.InternalMessageInfo
func (m *ErrDetails) GetCodes() []ErrCode {
if m != nil {
return m.Codes
}
return nil
}
func init() {
proto.RegisterEnum("berty.errcode.ErrCode", ErrCode_name, ErrCode_value)
proto.RegisterType((*ErrDetails)(nil), "berty.errcode.ErrDetails")
}
func init() { proto.RegisterFile("errcode.proto", fileDescriptor_4240057316120df7) }
var fileDescriptor_4240057316120df7 = []byte{
// 2165 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x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 0xf9,
0x9b, 0xa9, 0x67, 0x55, 0xfb, 0xd2, 0x8f, 0xb0, 0x59, 0x87, 0x3f, 0x97, 0xb3, 0x09, 0xe8, 0xc4,
0xba, 0xb6, 0x6a, 0x37, 0xdd, 0x50, 0xa6, 0x0d, 0xf2, 0x2f, 0xe5, 0x6c, 0x6e, 0xf6, 0x93, 0x6e,
0x4b, 0xab, 0xad, 0xd0, 0x47, 0x0d, 0x7f, 0x1d, 0x55, 0xd6, 0x9d, 0x1a, 0x32, 0xcf, 0x96, 0xe9,
0x13, 0xc1, 0x8a, 0xca, 0x68, 0x49, 0xaa, 0x4a, 0xdf, 0x36, 0x8c, 0xd7, 0xcb, 0xd4, 0x25, 0x33,
0x3b, 0xdc, 0xf3, 0xda, 0x6e, 0x94, 0xf0, 0xb7, 0x72, 0xf5, 0x96, 0x93, 0x2f, 0xce, 0x5c, 0xf0,
0xd4, 0x99, 0x99, 0xc2, 0xc9, 0x33, 0x33, 0x85, 0x5f, 0x9e, 0x99, 0x29, 0xbc, 0x63, 0x36, 0xfd,
0xb8, 0x65, 0xd0, 0xeb, 0xce, 0xbb, 0x7f, 0xe7, 0x03, 0x35, 0x1f, 0x6f, 0x06, 0xf3, 0xf4, 0xb9,
0x6b, 0x7d, 0x8f, 0xfb, 0x44, 0xf6, 0xe6, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x3b, 0x5a, 0xf0,
0xcc, 0x58, 0x13, 0x00, 0x00,
}
func (m *ErrDetails) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *ErrDetails) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ErrDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.XXX_unrecognized != nil {
i -= len(m.XXX_unrecognized)
copy(dAtA[i:], m.XXX_unrecognized)
}
if len(m.Codes) > 0 {
dAtA2 := make([]byte, len(m.Codes)*10)
var j1 int
for _, num := range m.Codes {
for num >= 1<<7 {
dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
num >>= 7
j1++
}
dAtA2[j1] = uint8(num)
j1++
}
i -= j1
copy(dAtA[i:], dAtA2[:j1])
i = encodeVarintErrcode(dAtA, i, uint64(j1))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func encodeVarintErrcode(dAtA []byte, offset int, v uint64) int {
offset -= sovErrcode(v)
base := offset
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
v >>= 7
offset++
}
dAtA[offset] = uint8(v)
return base
}
func (m *ErrDetails) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if len(m.Codes) > 0 {
l = 0
for _, e := range m.Codes {
l += sovErrcode(uint64(e))
}
n += 1 + sovErrcode(uint64(l)) + l
}
if m.XXX_unrecognized != nil {
n += len(m.XXX_unrecognized)
}
return n
}
func sovErrcode(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7
}
func sozErrcode(x uint64) (n int) {
return sovErrcode(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *ErrDetails) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowErrcode
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: ErrDetails: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: ErrDetails: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType == 0 {
var v ErrCode
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowErrcode
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= ErrCode(b&0x7F) << shift
if b < 0x80 {
break
}
}
m.Codes = append(m.Codes, v)
} else if wireType == 2 {
var packedLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowErrcode
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
packedLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if packedLen < 0 {
return ErrInvalidLengthErrcode
}
postIndex := iNdEx + packedLen
if postIndex < 0 {
return ErrInvalidLengthErrcode
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
var elementCount int
if elementCount != 0 && len(m.Codes) == 0 {
m.Codes = make([]ErrCode, 0, elementCount)
}
for iNdEx < postIndex {
var v ErrCode
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowErrcode
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
v |= ErrCode(b&0x7F) << shift
if b < 0x80 {
break
}
}
m.Codes = append(m.Codes, v)
}
} else {
return fmt.Errorf("proto: wrong wireType = %d for field Codes", wireType)
}
default:
iNdEx = preIndex
skippy, err := skipErrcode(dAtA[iNdEx:])
if err != nil {
return err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthErrcode
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func skipErrcode(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
depth := 0
for iNdEx < l {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowErrcode
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
wireType := int(wire & 0x7)
switch wireType {
case 0:
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowErrcode
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
iNdEx++
if dAtA[iNdEx-1] < 0x80 {
break
}
}
case 1:
iNdEx += 8
case 2:
var length int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowErrcode
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
length |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if length < 0 {
return 0, ErrInvalidLengthErrcode
}
iNdEx += length
case 3:
depth++
case 4:
if depth == 0 {
return 0, ErrUnexpectedEndOfGroupErrcode
}
depth--
case 5:
iNdEx += 4
default:
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
}
if iNdEx < 0 {
return 0, ErrInvalidLengthErrcode
}
if depth == 0 {