If you call $subclass->method() and the base class provides a default implementation which throws, you get BaseClass in the exception message.
Instead, produce Subclass in this case.
Differential D10030
Choose a better class name for PhutilMethodNotImplementedException epriestley on Jul 23 2014, 3:17 PM. Authored by Tags None Referenced Files
Subscribers
Details If you call $subclass->method() and the base class provides a default implementation which throws, you get BaseClass in the exception message. Instead, produce Subclass in this case. With Application subclasses missing getName() implementations, got more useful exceptions (e.g., "PhabricatorPasteApplication" is missing a method, not "PhabricatorApplication").
Diff Detail
|