I have my own exception, which been throwing on execution fail of a method (p/invoke in my case).
public PInvokeException(string methodName)
: base(String.Format(CultureInfo.CurrentCulture,
"An error occured while external method '{0}' call",
methodName)) { }
But I want to replace it with already existing. Is there in FCL something like that?