Low-Power Border Router

LbrException.UserDbError Class Reference

Exception class associated with usin the userDB. More...

Inherits LbrException::LbrException.

List of all members.

Static Public Attributes

int UNKNOWN_USERNAME = 1
int USERNAME_EXISTS = 2
int SUBPREFIX_LENGTH_ERROR = 3
int SUBPREFIX_FORMAT_ERROR = 4
int USER_CONNECTED = 5
int USER_DISCONNECTED = 6
int INVALID_SECLEVEL = 7
int CREDENTIALS_MISSING = 8
int CREDENTIALS_NEEDED = 9
dictionary descriptions

Detailed Description

Exception class associated with usin the userDB.


Member Data Documentation

Initial value:
{
        UNKNOWN_USERNAME:         'Unkonwn username',
        USERNAME_EXISTS:          'Username already exists',
        SUBPREFIX_LENGTH_ERROR:   'Invalid subprefix length',
        SUBPREFIX_FORMAT_ERROR:   'Invalid subprefix format',
        USER_CONNECTED:           'User currently connected',
        USER_DISCONNECTED:        'User currently disconnected',
        INVALID_SECLEVEL:         'Invalid security level',
        CREDENTIALS_MISSING:      'Missing credentials',
        CREDENTIALS_NEEDED:       'Credentials are needed',
    }

Reimplemented from LbrException.LbrException.