raise

Raises an exception using optional highlighting.

  1. void raise(string exception, string matchTo, string matchOf)
    static pure
    void
    raise
    (
    string exception
    ,
    string matchTo = null
    ,
    string matchOf = null
    )
  2. void raise(string exception, string matchTo, size_t matchStart, size_t matchEnd)

Parameters

exception string

The exception to be raised.

matchTo string

String to use for syntax/error highlighting.

matchOf string

String to use to search for and highlight in matchTo.

Meta