protected function solver($ex, $params = []) { $this->runtime->fail($ex, $params); return Promise::doResolve('Runtime has handled failure.'); }