Vettero

Throw error

Raise a catchable error with a message and optional code.

Type

err.throw
Block Error
Folderbasic/error
Channels

Any

Pipe

Value

Scope

Any

Throw error stops the current path with a catchable error. It never continues on a success outlet. Catch it with a block Error outlet, Try On error, or let the run fail.

It does not raise a fatal error. Fatal stops are reserved for platform limits, internal failures, and unexpected thrown Error values.

Configure

SettingDescription
MessageText (or a variable) for callers and logs
CodeOptional stable code for Branch errors. Default THROWN

Handles

HandleRole
In (target)Incoming connection

There is no Out handle.

Use case

  • After a Condition false branch, fail with INVALID_STATUS so Branch errors can route it.
  • Inside Try Do, abort that body and jump to On error.
Copyright © 2026