View source code
Display the source code in object.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

object.Throwable.next - multiple declarations

Function Throwable.next

inout inout(Throwable) next() pure nothrow @property @nogc return @safe;

Returns

A reference to the next error in the list. This is used when a new Throwable is thrown from inside a catch block. The originally caught Exception will be chained to the new Throwable via this field.

Function Throwable.next

Replace next in chain with tail. Use chainTogether instead if at all possible.

void next (
  Throwable tail
) pure nothrow @property @nogc scope @safe;

Authors

Walter Bright, Sean Kelly

License

Boost License 1.0.