Sha256: 30847ab134f337e9bff36b6ea9874edcd9edf9f710d23a1e87a3a49afacc3d17
Contents?: true
Size: 344 Bytes
Versions: 7
Compression:
Stored size: 344 Bytes
Contents
<?php namespace Predis; class ServerException extends PredisException implements IRedisServerError { public function getErrorType() { list($errorType, ) = explode(' ', $this->getMessage(), 2); return $errorType; } public function toResponseError() { return new ResponseError($this->getMessage()); } }
Version data entries
7 entries across 7 versions & 1 rubygems