(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.


icon

Inputs/Outputs

  • cActor_Framework_lvlib_Actorlvclass.png Actor in

    Actor in specifies the actor.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iActor_Framework_lvlib_Actorlvclass.png Actor out

    Actor out returns the actor.

  • ibool.png stop 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.

  • ierrcodeclst.png error out

    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.