As promised readers, I am going to take my own learning experience and use it to explain ColdFusion TAGS and how one might make use of them. Of course you can get a really in depth view using the livedocs provided by Adobe. But I thought that perhaps sharing my experience outloud would actually benefit me as well as be helpful to others that are learning this excellent development language.
<CFABORT>
Let’s take a closer look at this handy little devil. This tag falls under the category of Flow Control and for good reason because that is exactly what the tag does. It stops the processing (or flow of), a ColdFusion page at the point that you place the tag in your code. The great thing is that it returns everything that was processed preceeding the tag. Therefore this is a handy tool to use to track down errors in your application.
It has a very simple syntax consisting of only one attribute.
showerror=”enter error message here”>
So that’s it on this easy to use flow-control tag. Remember livedocs is a great reference tool visit it.