File: exceptions.py

package info (click to toggle)
gevent-socketio 0.3.6-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 716 kB
  • ctags: 551
  • sloc: python: 2,031; makefile: 134
file content (6 lines) | stat: -rw-r--r-- 172 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
class SessionNotFound(Exception):
    def __init__(self, sessid):
        self.sessid = sessid

    def __str__(self):
        return "Session %s not found!" % self.sessid