protected Method

MemCache.raise_on_error_response!(response)

There's no documentation for this item.

Source Code

# File active_support/vendor/memcache-client-1.5.0/memcache.rb, line 695
def raise_on_error_response!(response)
  if response =~ /\A(?:CLIENT_|SERVER_)?ERROR (.*)/
    raise MemCacheError, $1.strip
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.