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.
A message describing the error.
The file name of the D source code corresponding with where the error was thrown from.
The line number of the D source code corresponding with where the error was thrown from.
The stack trace of where the error happened. This is an opaque object that can either be converted to string, or iterated over with foreach to extract the items in the stack trace (as strings).
Replace next in chain with tail. Use chainTogether instead if at all possible.
Loop over the chain of Throwables.
Append e2 to chain of exceptions that starts with e1.
Get the message describing the error. Base behavior is to return the Throwable.msg field. Override to return some other error message.
The base class of all unrecoverable runtime errors.
This represents the category of Throwable objects that are not safe to catch and handle. In principle, one should not catch Error objects, as they represent unrecoverable runtime errors. Certain runtime guarantees may fail to hold when these errors are thrown, making it unsafe to continue execution after catching them.