Function StackCustom function
Precondition
Throw exception or return response if value is nil, error, or false
Configuration:
- Code: The HTTP status code.
- Message: Error message.
- Details: (Optional) – The detail value of the error.
- Internal Error: – Include internal error into the message.
- As Response: – If checked, it returns the error as a response instead of throwing an exception.
- Return Only: – If checked, it just exits from the current scope that the function is running.