abort

Stops current response or execution.

Target function

Signature

1abort()

Stops current response or execution.

abort is a global callable that can be used wherever an expression is valid. abort belongs at the request or response boundary. Treat visitor input as untrusted, validate before use, and encode values before writing them into HTML.

Examples

Basic call

1abort
The example belongs near a request or response boundary; validate visitor input before trusting it.