Test Model
raised()
Signature
Section titled “Signature”raised() — returns string
Available in: test
Category: Testing Functions
Description
Section titled “Description”Catches a raised error and returns the error type Great if you want to test that a certain exception will be raised.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
expression | string | yes | — | String containing CFML expression to evaluate |