exceptionKeyExists

Determines whether a specific key is present in an exception.

exceptionKeyExists(exception, key) → returns boolean

This function requires Adobe ColdFusion 2016 and up.  Not supported on Lucee, etc.

Argument Reference

exception struct
Required

Name of structure to test

key string
Required

Key to test

Compatibility

ColdFusion:

Version 2016+ This is not documented by Adobe yet

Examples
Sample code invoking the exceptionKeyExists function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub