Should check and warn if an action type is not annotated with ActionTypeAttribute #28
Labels
hacktoberfest
Newcomer-welcoming issues for Hacktoberfest
help wanted
Extra attention is needed
stale
The issue is stale
suggestion
Suggestion or feature request
It currently crashes without any warning or meaningful error message if an action type is not annotated with
ActionTypeAttribute
. This behavior can confuse library users whether they are aware that an action should be annotated with the attribute and just miss it or not aware of it at all.Blockchain<T>
to throw a runtime exception (e.g.,InvalidActionTypeException
) with a well-guided error message ifT
is not annotated with the attribute.(Reported by @ipdae.)
The text was updated successfully, but these errors were encountered: