Sha256: aad081e7c82975cd603eab4e0a374b038a1cc98bf56c388c1821328861b66410
Contents?: true
Size: 479 Bytes
Versions: 7
Compression:
Stored size: 479 Bytes
Contents
<?php namespace Predis; class ResponseError implements IRedisServerError { private $_message; public function __construct($message) { $this->_message = $message; } public function getMessage() { return $this->_message; } public function getErrorType() { list($errorType, ) = explode(' ', $this->getMessage(), 2); return $errorType; } public function __toString() { return $this->getMessage(); } }
Version data entries
7 entries across 7 versions & 1 rubygems