Error.this

Creates a new instance of Error. 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 Error; the throw statement should be used for that purpose.

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

Meta