@@ -7,11 +7,11 @@ import { Result } from 'neverthrow';
77export enum IErrorAll {
88 IErrorInternal ,
99 IErrorNotary ,
10- IErrorZNP ,
10+ IErrorNetwork ,
1111}
1212
13- // ZNP Error Types
14- export enum IErrorZNP {
13+ // Network Error Types
14+ export enum IErrorNetwork {
1515 InternalServerError = 'Internal Server Error' ,
1616 InvalidPassphrase = 'Invalid passphrase' ,
1717 BlankPassphrase = 'New passphrase cannot be blank' ,
@@ -40,11 +40,11 @@ export enum IErrorNotary {
4040 InternalServerError = 'Internal Server Error' ,
4141 NotaryNotAuthorized = 'Notary not authorized for operation' ,
4242 AddressConstructionFailed = 'Address construction from public keys failed' ,
43- TransactionOutputsHaveNoZeno = 'Transaction outputs do not contain Zeno tokens' ,
43+ TransactionOutputsHaveNoTokens = 'Transaction outputs do not contain tokens' ,
4444 InputsDoNotBelongToPk = 'Previous inputs do not belong to the provided public keys' ,
4545 InvalidSignatures = 'Invalid signatures provided' ,
46- InvalidBurnTransaction = 'Transaction outputs to burn address do not contain Zeno tokens' ,
47- TransactionOutputsEmpty = 'Transaction outputs contain no Zeno tokens assigned to provided burn address' ,
46+ InvalidBurnTransaction = 'Transaction outputs to burn address do not contain tokens' ,
47+ TransactionOutputsEmpty = 'Transaction outputs contain no tokens assigned to provided burn address' ,
4848 KeypairUndefined = 'Key-pair undefined' ,
4949}
5050
0 commit comments