These steps can raise dynamic errors.

[Definition: A dynamic error is one which occurs while a pipeline is being evaluated.] Examples of dynamic errors include references to URIs that cannot be resolved, steps which fail, and pipelines that exhaust the capacity of an implementation (such as memory or disk space). For a more complete discussion of dynamic errors, see Dynamic Errors in XProc 3.0: An XML Pipeline Language.

If a step fails due to a dynamic error, failure propagates upwards until either a p:try is encountered or the entire pipeline fails. In other words, outside of a p:try, step failure causes the entire pipeline to fail.

The following errors can be raised by this step:

err:XC0159

It is a dynamic error if any key in the “auth” map is associated with a value that is not an instance of the required type.

See: p:send-mail

err:XC0160

It is a dynamic error if any key in the “parameters” map is associated with a value that is not an instance of the required type.

See: p:send-mail

err:XC0161

It is a dynamic error if the first document on the source port does not conform to the required format.

See: p:send-mail

err:XC0162

It is a dynamic error if the email cannot be send.

See: p:send-mail