setupFluentHandler

Undocumented in source. Be warned that the author may not have intended to support it.
@safe
void
setupFluentHandler
()

Examples

It should call the fluent handler

import core.exception;

setupFluentHandler;
scope(exit) core.exception.assertHandler = null;

bool thrown = false;

try {
  assert(false, "What?");
} catch(Throwable t) {
  thrown = true;
  t.msg.should.startWith("Assert failed. What?\n");
}

thrown.should.equal(true);

Meta