HomePhabricator

Add PhutilInvalidStateException class

Description

Add PhutilInvalidStateException class

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.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12803

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on May 13 2015, 9:53 PM
Reviewer
Blessed Reviewers
Differential Revision
D12803: Add PhutilInvalidStateException class
Parents
rPHU211230ced9ca: Use `__CLASS__` instead of hardcoding class names
Branches
Unknown
Tags
Unknown