Documentation

Predis extends Client
in package

This wraps up some error handling. We're just going for simple nulls here.

Perhaps one day we'll throw (optionally) on wrongtypes. But we'll at least declare a WrongTypeException instead of a generic 'ServerException'.

Table of Contents

Methods

onErrorResponse()  : mixed

Methods

onErrorResponse()

public onErrorResponse(CommandInterface $command, ErrorInterface $response) : mixed
Parameters
$command : CommandInterface
$response : ErrorInterface
Tags
inheritdoc
On this page

Search results