The OpenD Programming Language

Throwable.toString

The Throwable hierarchy uses a toString overload that takes a _sink delegate to avoid GC allocations, which cannot be performed in certain error situations. Override this toString method to customize the error message.

  1. string toString()
  2. void toString(void delegate(in char[]) sink)
    class Throwable
    @system const
    void
    toString
    (
    scope void delegate
    (
    in char[]
    )
    sink
    )

Meta