Offline Transaction Signing (OTS) 0.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ots-errors.h
Go to the documentation of this file.
1
7#ifndef OTS_ERRORS_H
8#define OTS_ERRORS_H
9
10#include <stdint.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
19typedef enum {
21
27
33
39
45
51
57
63
69
75
81
87
93
99
105
111
117
123
129
135
141
147
153
159
165
171
177
183
189
195
201
207
213
219
225
231
237
243
249
255
261
267
273
279
285
291
297
303
309
315
321
327
333
339
341
342#ifdef __cplusplus
343}
344#endif
345
346#endif // OTS_ERRORS_H
OTS_ERROR_CODE
Error codes matching C++ exceptions.
Definition ots-errors.h:19
@ OTS_ERROR_POLYSEED_WORD_COUNT
WordCount.
Definition ots-errors.h:194
@ OTS_ERROR_RANGE_ERROR
RangeError.
Definition ots-errors.h:44
@ OTS_ERROR_WALLET_CIPHERTEXT_AUTHENTICATION_FAILED
CiphertextAuthenticationFailed.
Definition ots-errors.h:308
@ OTS_ERROR_SEED_WORD_COUNT
WordCount.
Definition ots-errors.h:152
@ OTS_ERROR_SEED_SEED_DECODING_FAILED
SeedDecodingFailed.
Definition ots-errors.h:164
@ OTS_ERROR_SEED_MERGE_ERROR
MergeError.
Definition ots-errors.h:188
@ OTS_ERROR_NOT_IMPLEMENTED_YET
NotImplementedYet.
Definition ots-errors.h:50
@ OTS_ERROR_SIGN_EMPTY_SIGNATURE
EmptySignature.
Definition ots-errors.h:128
@ OTS_ERROR_POLYSEED_NO_PASSWORD_PROVIDED
NoPasswordProvided.
Definition ots-errors.h:236
@ OTS_ERROR_POLYSEED_MEMORY_ALLOCATION_ERROR
MemoryAllocationError.
Definition ots-errors.h:224
@ OTS_ERROR_POLYSEED_CHECKSUM_MISMATCH
ChecksumMismatch.
Definition ots-errors.h:206
@ OTS_ERROR_LEGACYSEED_INVALID_SEED_FORMAT
InvalidSeedFormat.
Definition ots-errors.h:242
@ OTS_ERROR_WIPEABLEVECTOR_UNSAFE_CONVERSION
UnsafeConversion.
Definition ots-errors.h:110
@ OTS_ERROR_WALLET_INTERNAL_ERROR
InternalError.
Definition ots-errors.h:314
@ OTS_ERROR_WIPEABLESTRING_UNSAFE_CONVERSION
UnsafeConversion.
Definition ots-errors.h:104
@ OTS_ERROR_WALLET_IMPORT_OUTPUTS
ImportOutputs.
Definition ots-errors.h:290
@ OTS_ERROR_TX_INVALID
Invalid.
Definition ots-errors.h:326
@ OTS_ERROR_BUFFER_OVERFLOW_EXCEPTION
BufferOverflowException.
Definition ots-errors.h:92
@ OTS_ERROR_DOMAIN_ERROR
DomainError.
Definition ots-errors.h:56
@ OTS_ERROR_LOW_ENTROPY
LowEntropy.
Definition ots-errors.h:98
@ OTS_ERROR_KEYSTORE_LOCKED_WRITE_ATTEMPT
LockedWriteAttempt.
Definition ots-errors.h:260
@ OTS_ERROR_OUT_OF_RANGE
OutOfRange.
Definition ots-errors.h:62
@ OTS_ERROR_SIGN_INVALID_SIGNATURE
InvalidSignature.
Definition ots-errors.h:116
@ OTS_ERROR_SEED_LANGUAGE_NOT_SUPPORTED_BY_SEED_TYPE
LanguageNotSupportedBySeedType.
Definition ots-errors.h:146
@ OTS_ERROR_KEYSTORE_POLYSEED_POLYSEED_DATA_READ_ONLY_SESSION
PolyseedDataReadOnlySession.
Definition ots-errors.h:278
@ OTS_ERROR_KEYSTORE_POLYSEED_ACTIVE_POLYSEED_DATA_SESSION
ActivePolyseedDataSession.
Definition ots-errors.h:266
@ OTS_ERROR_SEED_NO_DEFAULT_LANGUAGE_SET
NoDefaultLanguageSet.
Definition ots-errors.h:134
@ OTS_ERROR_ADDRESS_NOT_INTEGRATED
NotIntegrated.
Definition ots-errors.h:338
@ OTS_ERROR_WALLET_INVALID_CIPHERTEXT
InvalidCiphertext.
Definition ots-errors.h:302
@ OTS_ERROR_WALLET_ADDRESS_NOT_FOUND
AddressNotFound.
Definition ots-errors.h:284
@ OTS_ERROR_ACCOUNT_GENERATION_FAILED
GenerationFailed.
Definition ots-errors.h:320
@ OTS_ERROR_KEYSTORE_POLYSEED_NO_ACTIVE_POLYSEED_DATA_SESSION
NoActivePolyseedDataSession.
Definition ots-errors.h:272
@ OTS_ERROR_SIGN_EMPTY_MESSAGE
EmptyMessage.
Definition ots-errors.h:122
@ OTS_ERROR_KEYSTORE_LOCKED_ACCESS_ATTEMPT
LockedAccessAttempt.
Definition ots-errors.h:254
@ OTS_ERROR_POLYSEED_UNSUPPORTED_FEATURES
UnsupportedFeatures.
Definition ots-errors.h:212
@ OTS_ERROR_MEMORY_ALLOCATION_ERROR
MemoryAllocationError.
Definition ots-errors.h:68
@ OTS_ERROR_INVALID_ARGUMENT
InvalidArgument.
Definition ots-errors.h:38
@ OTS_ERROR_SECURITY_EXCEPTION
SecurityException.
Definition ots-errors.h:80
@ OTS_SUCCESS
Definition ots-errors.h:20
@ OTS_ERROR_SEED_SEED_ENCODING_FAILED
SeedEncodingFailed.
Definition ots-errors.h:158
@ OTS_ERROR_LOGIC_ERROR
LogicError.
Definition ots-errors.h:32
@ OTS_ERROR_SEED_TOO_FEW_VALUES
TooFewValues.
Definition ots-errors.h:176
@ OTS_ERROR_POLYSEED_AMBIGOUS_LANGUAGE
AmbigousLanguage.
Definition ots-errors.h:230
@ OTS_ERROR_SEEDJAR_SEED_NOT_FOUND
SeedNotFound.
Definition ots-errors.h:248
@ OTS_ERROR_WALLET_EXPORT_KEY_IMAGES
ExportKeyImages.
Definition ots-errors.h:296
@ OTS_ERROR_POLYSEED_UNSUPPORTED_LANGUAGE
UnsupportedLanguage.
Definition ots-errors.h:200
@ OTS_ERROR_SEED_LENGTH_MISMATCH
LengthMismatch.
Definition ots-errors.h:170
@ OTS_ERROR_ADDRESS_INVALID
Invalid.
Definition ots-errors.h:332
@ OTS_ERROR_RUNTIME_ERROR
RuntimeError.
Definition ots-errors.h:26
@ OTS_ERROR_UNKNOWN_NETWORK
UnknownNetwork.
Definition ots-errors.h:86
@ OTS_ERROR_SECURITY_ERROR
SecurityError.
Definition ots-errors.h:74
@ OTS_ERROR_POLYSEED_INVALID_SEED_FORMAT
InvalidSeedFormat.
Definition ots-errors.h:218
@ OTS_ERROR_SEED_PASSWORD_NOT_SUPPORTED
PasswordNotSupported.
Definition ots-errors.h:182
@ OTS_ERROR_SEED_LANGUAGE_NOT_FOUND
LanguageNotFound.
Definition ots-errors.h:140