Closed neysofu closed 2 years ago
When spawning with an invalid ctor, we previously returned a FuncNotAllowed error. The reasoning was, it's possible that the selected function exists but isn't actually allowed to run as a ctor. I think FuncNotFound makes more sense though.
ctor
FuncNotAllowed
FuncNotFound
I'll close this, @YaronWittenstein intends on doing a more comprehensive refactoring also fixing this issue.
When spawning with an invalid
ctor
, we previously returned aFuncNotAllowed
error. The reasoning was, it's possible that the selected function exists but isn't actually allowed to run as actor
. I thinkFuncNotFound
makes more sense though.