Exceptions
This section of the package is responsible for controlling how and when a window is opened.
Index
Contents
ModelSelectionGUI.bad_request_exception
— Methodbad_request_exception(message)
Creates an HTTP response with a 400 (Bad Request) status code.
Parameters
message::String
: The message to be sent in the HTTP response.
Returns
HTTP.Response
: An HTTP response with a status code of 400 and the provided message.
Example
bad_request_exception("Invalid request parameters.")