CatapultServer  v0.5.0.1 (Elephant)
plugins/txes/namespace/src/validators/Results.h File Reference
Include dependency graph for plugins/txes/namespace/src/validators/Results.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::validators
 

Macros

#define DEFINE_NAMESPACE_RESULT(DESCRIPTION, CODE)   DEFINE_VALIDATION_RESULT(Failure, Namespace, DESCRIPTION, CODE, None)
 Defines a namespace validation result with DESCRIPTION and CODE. More...
 

Functions

 catapult::validators::DEFINE_NAMESPACE_RESULT (Invalid_Duration, 1)
 Validation failed because the duration has an invalid value. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Invalid_Name, 2)
 Validation failed because the name is invalid. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Name_Id_Mismatch, 3)
 Validation failed because the name and id don't match. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Expired, 4)
 Validation failed because the parent is expired. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Owner_Conflict, 5)
 Validation failed because the parent owner conflicts with the child owner. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Id_Mismatch, 6)
 Validation failed because the id is not the expected id generated from signer and nonce. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Invalid_Namespace_Type, 100)
 Validation failed because the namespace type is invalid. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Root_Name_Reserved, 101)
 Validation failed because the root namespace has a reserved name. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Too_Deep, 102)
 Validation failed because the resulting namespace would exceed the maximum allowed namespace depth. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Parent_Unknown, 103)
 Validation failed because the namespace parent is unknown. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Already_Exists, 104)
 Validation failed because the namespace already exists. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Already_Active, 105)
 Validation failed because the namespace is already active. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Eternal_After_Nemesis_Block, 106)
 Validation failed because an eternal namespace was received after the nemesis block. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Max_Children_Exceeded, 107)
 Validation failed because the maximum number of children for a root namespace was exceeded. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Alias_Invalid_Action, 108)
 Validation failed because alias action is invalid. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Alias_Namespace_Unknown, 109)
 Validation failed because namespace does not exist. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Alias_Already_Exists, 110)
 Validation failed because namespace is already linked to an alias. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Alias_Does_Not_Exist, 111)
 Validation failed because namespace is not linked to an alias. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Alias_Owner_Conflict, 112)
 Validation failed because namespace has different owner. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Alias_Unlink_Type_Inconsistency, 113)
 Validation failed because unlink type is not consistent with existing alias. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Alias_Unlink_Data_Inconsistency, 114)
 Validation failed because unlink data is not consistent with existing alias. More...
 
 catapult::validators::DEFINE_NAMESPACE_RESULT (Alias_Invalid_Address, 115)
 Validation failed because aliased address is invalid. More...
 

Macro Definition Documentation

◆ DEFINE_NAMESPACE_RESULT

#define DEFINE_NAMESPACE_RESULT (   DESCRIPTION,
  CODE 
)    DEFINE_VALIDATION_RESULT(Failure, Namespace, DESCRIPTION, CODE, None)

Defines a namespace validation result with DESCRIPTION and CODE.