Showing with 0 additions and 14 deletions.
  1. +0 −14 src/object.d
14 changes: 0 additions & 14 deletions src/object.d
Original file line number Diff line number Diff line change
Expand Up @@ -1689,7 +1689,6 @@ class Throwable : Object
sink("@"); sink(file);
sink("("); sink(sizeToTempString(line, tmpBuff, 10)); sink(")");

auto msg = message();
if (msg.length)
{
sink(": "); sink(msg);
Expand All @@ -1710,19 +1709,6 @@ class Throwable : Object
}
}
}

/**
* Get the message describing the error.
* Base behavior is to return the `Throwable.msg` field.
* Override to return some other error message.
*
* Returns:
* message
*/
const(char)[] message() const
{
return msg;
}
}


Expand Down