class Redlics::Exception::LuaRangeError
Lua Range Error class
Maximal Lua stack size for the method ‘unpack` is by default 8000. To change this parameter in Redis an own make and build of Redis is needed. @see github.com/antirez/redis/blob/3.2/deps/lua/src/luaconf.h
Public Class Methods
new(msg = 'Too many keys (max. 8000 keys defined by LUAI_MAXCSTACK)')
click to toggle source
Initialization with default error message.
@param msg [String] the error message @return [Redlics::Exception::LuaRangeError] error message
Calls superclass method
# File lib/redlics/exception.rb, line 21 def initialize(msg = 'Too many keys (max. 8000 keys defined by LUAI_MAXCSTACK)') super(msg) end