mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-03 05:23:14 +01:00
18 lines
259 B
D
18 lines
259 B
D
/*
|
|
* Temporary exception handling stubs
|
|
*/
|
|
|
|
import util.console;
|
|
|
|
private extern(C) void abort();
|
|
|
|
extern(C) void _d_throw_exception(Object e)
|
|
{
|
|
console("Exception: ");
|
|
if (e !is null)
|
|
{
|
|
console(e.toString())("\n");
|
|
}
|
|
abort();
|
|
}
|