Page MenuHomePhabricator

Add PhutilInvalidStateException class
ClosedPublic

Authored by joshuaspence on May 12 2015, 11:19 AM.
Tags
None
Referenced Files
F13118370: D12803.diff
Mon, Apr 29, 2:17 PM
Unknown Object (File)
Wed, Apr 24, 10:24 PM
Unknown Object (File)
Mon, Apr 22, 3:49 PM
Unknown Object (File)
Sun, Apr 14, 11:01 PM
Unknown Object (File)
Sat, Apr 6, 4:12 PM
Unknown Object (File)
Mon, Apr 1, 12:53 AM
Unknown Object (File)
Mar 29 2024, 8:14 PM
Unknown Object (File)
Mar 7 2024, 5:28 AM
Subscribers

Details

Summary

There's a bunch of Call %s before calling %s! exceptions that can be simplified with a custom script.

Test Plan

Wrote unit tests.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Add PhabricatorInvalidStateException.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

What do you think about putting this in libphutil? We probably have very few arcanist/libphutil callsites, but this doens't feel Phabricator-specific to me.

Yeah, I was considering that. Will do.

Use PhutilInvalidStateException

joshuaspence retitled this revision from Add PhabricatorInvalidStateException to Add PhutilInvalidStateException class.May 13 2015, 9:36 PM
epriestley edited edge metadata.
This revision is now accepted and ready to land.May 13 2015, 9:51 PM
This revision was automatically updated to reflect the committed changes.