/** * {@inheritdoc} */ public function formatException(HttpAdapterException $exception) { return array('code' => $exception->getCode(), 'message' => $exception->getMessage(), 'line' => $exception->getLine(), 'file' => $exception->getFile()); }