Throw
Method Signature
Throw(message=[any], type=[String], detail=[String], errorcode=[String], extendedinfo=[any], object=[Throwable])Arguments
Argument
Type
Required
Description
Default
Examples
Throw a custom exception
<bx:script>
throw( type="MyCustomError", message="A custom error has been thrown!" );
</bx:script>
Throw a custom http response exception
Additional Examples
Related
Last updated
Was this helpful?
