hyperledger-firefly / hyperledger-firefly/firefly

Indicate What Must Be Done to Enable Actions

Open
#1,367 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
602
Forks
246
Avg merge
18h 47m
Merged PRs (30d)
6

Description

https://github.com/search?q=repo%3Ahyperledger%2Ffirefly%20MsgActionNotSupported&type=code

whenever a certain action is not supported, whether its because multi-party is not enabled or because a specific plugin is not enabled on the namespace, the above error is returned.

While it makes it clear the action cannot be performed, it does not elucidate as to why it cannot be performed. This can make for a wanting error experience, where the user needs to squint at their namespace config, maybe read FF source, and guess what they need to enable or add for the action to be allowed.

We should update this error (or make separate errors) to have a formatable section to provide what specifically prevents the action from being allowed, and if something could be done to fix that.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.