Exception.this

Creates a new instance of Exception. The nextInChain parameter is used internally and should always be null when passed by user code. This constructor does not automatically throw the newly-created Exception; the throw statement should be used for that purpose.

  1. this(string msg, string file, size_t line, Throwable nextInChain)
    class Exception
    @nogc @safe pure nothrow
    this
    (
    string msg
    ,
    string file = __FILE__
    ,
    size_t line = __LINE__
    ,)
  2. this(string msg, Throwable nextInChain, string file, size_t line)

Meta