Swiftybase
Function StackCustom Function

Precondition

Return early, throw an exception, or send a response if the value is nil, a result with error or false

Config

  • 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.

On this page