Const
Error thrown when attempting to mutate a readonly session store. This occurs when trying to write to a session that was initiated in readonly mode.
// This will throw E_SESSION_NOT_MUTABLEawait session.initiate(true) // readonly modesession.put('key', 'value') // Throws error Copy
// This will throw E_SESSION_NOT_MUTABLEawait session.initiate(true) // readonly modesession.put('key', 'value') // Throws error
Error thrown when attempting to mutate a readonly session store. This occurs when trying to write to a session that was initiated in readonly mode.