git.delta.rocks / unique-network / refs/commits / 42b27fc67845

difftreelog

doc: minor style + structure error descriptions refactoring

Farhad Hakimov2022-07-22parent: #e684c8a.patch.diff
in: master

2 files changed

modifiedpallets/nonfungible/src/lib.rsdiffbeforeafterboth
206 OnEmpty = up_data_structs::TokenProperties,206 OnEmpty = up_data_structs::TokenProperties,
207 >;207 >;
208208
209 /// Custom data of a token that is serialized to bytes, 209 /// Custom data of a token that is serialized to bytes,
210 /// primarily reserved for on-chain operations, 210 /// primarily reserved for on-chain operations,
211 /// normally obscured from the external users.211 /// normally obscured from the external users.
212 /// 212 ///
213 /// Auxiliary properties are slightly different from 213 /// Auxiliary properties are slightly different from
214 /// usual [`TokenProperties`] due to an unlimited number 214 /// usual [`TokenProperties`] due to an unlimited number
215 /// and separately stored and written-to key-value pairs.215 /// and separately stored and written-to key-value pairs.
216 /// 216 ///
217 /// Currently used to store RMRK data.217 /// Currently used to store RMRK data.
218 #[pallet::storage]218 #[pallet::storage]
219 #[pallet::getter(fn token_aux_property)]219 #[pallet::getter(fn token_aux_property)]
modifiedpallets/structure/src/lib.rsdiffbeforeafterboth
--- a/pallets/structure/src/lib.rs
+++ b/pallets/structure/src/lib.rs
@@ -78,11 +78,11 @@
 
 	#[pallet::error]
 	pub enum Error<T> {
-		/// While searching for the owner, encountered an already checked account, detecting a loop.
+		/// While nesting, encountered an already checked account, detecting a loop.
 		OuroborosDetected,
-		/// While searching for the owner, reached the depth limit.
+		/// While nesting, reached the depth limit of nesting, exceeding the provided budget.
 		DepthLimit,
-		/// While iterating over children, reached the breadth limit.
+		/// While nesting, reached the breadth limit of nesting, exceeding the provided budget.
 		BreadthLimit,
 		/// Couldn't find the token owner that is itself a token.
 		TokenNotFound,