VibrantRouter.halt

Halt execution of a route or filter handler. Halt uses a HaltThrowable. If caught, it should be re-thrown to properly stop exection of a callback.

  1. void halt(string message)
  2. void halt(int status, string message)
    class VibrantRouter(bool GenerateAll = false)
    void
    halt
    (
    int status
    ,
    string message = ""
    )

Parameters

status int

The status code sent with the message.

message string

A message body to optionally include. Defaults to empty.

Meta