Owning Palette: Commonly Overridden Methods (Actor Framework)
Requires: Base Development System
(Filename: Actor Framework.lvlib:Actor.lvclass:Handle Error.vi)
Defines how the actor handles an error that occurred while processing a message. By default, this method does nothing except stop the actor.
Actor in specifies the actor. | |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |
Actor out returns the actor. | |
stop actor? returns TRUE if the actor should stop. By default, this method always returns TRUE because the Handle Error method executes only when the actor experiences an error as a result of processing a message. A descendant class may override this method to change this behavior. | |
error out contains error information. This output provides standard error out functionality. |
This method also treats error code 43 (coming from error in) as a sign that the actor shut down normally. In this situation, the Handle Error method does not return the error on error out, meaning the actor's caller will not receive it. All other error codes will be returned on error out. A descendant class may override this method to change this behavior.