raise

Raises an exception using optional highlighting.

  1. void raise(string exception, string matchTo, string matchOf)
  2. void raise(string exception, string matchTo, size_t matchStart, size_t matchEnd)
    static pure
    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.

matchStart size_t

Start index of the string to use to search for and highlight in matchTo.

matchEnd size_t

End index of the string to use to search for and highlight in matchTo.

Meta