Lucee Tag Reference
Stops processing of a page at the tag location. CFML returns everything that was processed before the cfabort tag. The cfabort tag is often used with conditional logic to stop processing a page when a condition occurs.
This tag can't have a body.
<cfabort [showerror="string"] [type="string"]>
This tag is also supported within cfscript
<cfscript> abort [string expression]; </cfscript>
The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
|showerror||string||No||The error to display when cfabort executes.
The error message displays in the standard CFML error page.
|type||string||No||define if only current page execution will aborted or the hole request.
values are "page" for the current page or "request" for all.