Name

xpt.error — issue an XPT error

Synopsis

import xpt
xpt.error("This is a grave error")

Description

Write out a message on the error output channel and terminate the xpt process via the builtin error() funtions.

Return value

Nothing

Errors

An exception is raised if incorrect parameters are passed.

See Also

xpt(1), python(1), xpt.warning(), xpt.message(), error().