Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Revert "Merge pull request #1445 from WalterBright/message"
Browse files Browse the repository at this point in the history
This reverts commit 74e5d87, reversing
changes made to c36cc51.
  • Loading branch information
MartinNowak committed Jan 16, 2016
1 parent 84d547f commit 80e5059
Showing 1 changed file with 0 additions and 14 deletions.
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

0 comments on commit 80e5059

Please sign in to comment.