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
7878
79 #[pallet::error]79 #[pallet::error]
80 pub enum Error<T> {80 pub enum Error<T> {
81 /// While searching for the owner, encountered an already checked account, detecting a loop.81 /// While nesting, encountered an already checked account, detecting a loop.
82 OuroborosDetected,82 OuroborosDetected,
83 /// While searching for the owner, reached the depth limit.83 /// While nesting, reached the depth limit of nesting, exceeding the provided budget.
84 DepthLimit,84 DepthLimit,
85 /// While iterating over children, reached the breadth limit.85 /// While nesting, reached the breadth limit of nesting, exceeding the provided budget.
86 BreadthLimit,86 BreadthLimit,
87 /// Couldn't find the token owner that is itself a token.87 /// Couldn't find the token owner that is itself a token.
88 TokenNotFound,88 TokenNotFound,