Skip to content

Commit 1a1c50b

Browse files
committed
fix: wrong order of parameters in UnauthorizedTokenActionError
1 parent d6b40e6 commit 1a1c50b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/rs-dpp/src/errors/consensus/state/token/unauthorized_token_action_error.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ use thiserror::Error;
1111
Error, Debug, Clone, PartialEq, Eq, Encode, Decode, PlatformSerialize, PlatformDeserialize,
1212
)]
1313
#[error(
14-
"Identity {} is not authorized to perform action: {} on token: {}. Authorized action takers: {:?}",
15-
identity_id,
16-
token_id,
17-
action,
18-
authorized_action_takers
14+
"Identity {identity_id} is not authorized to perform action: {action} on token: {token_id}. Authorized action takers: {authorized_action_takers:?}",
1915
)]
2016
#[platform_serialize(unversioned)]
2117
pub struct UnauthorizedTokenActionError {

0 commit comments

Comments
 (0)