Amp\Artax\BufferWriter::fail PHP 메소드

fail() 개인적인 메소드

private fail ( Exception $e )
$e Exception
    private function fail(\Exception $e)
    {
        $this->promisor->fail($e);
        if ($this->writeWatcher) {
            \Amp\cancel($this->writeWatcher);
        }
    }