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 cannot have a body.
This tag is also supported within <cfscript>
<cfabort [type=string] [showerror=string] >
Example for cfabort
<cfset setVar = 3> <cfloop from = "1" to = "4" index = "countVar"> <cfif countVar is 2> <cfabort/> <cfelse> <cfset setVar = setVar + 1> </cfif> </cfloop>