netlab.errors.klass — NETLAB+ VE Python SDK 24.0.0 documentation

# netlab.errors.klass

Exceptions

`AccountNotInstructorError`([message]) | acc_id cannot be set to lead.
`AlreadyMemberError`([message]) | acc_id is already a member of class.
`AlreadyRegisteredError`([message]) | Content is already registered to class.
`ClassNotFoundError`([message]) | Requested cls_id was not found.
`NotMemberError`([message]) | acc_id is not on roster.
`NotRegisteredError`([message]) | con_id not registered in class.
`RemoveLastLeadError`([message]) | Returned more than one lead.

exception netlab.errors.klass.AccountNotInstructorError(message=None)

  acc_id cannot be set to lead.

exception netlab.errors.klass.AlreadyMemberError(message=None)

  acc_id is already a member of class.

exception netlab.errors.klass.AlreadyRegisteredError(message=None)

  Content is already registered to class.

exception netlab.errors.klass.ClassNotFoundError(message=None)

  Requested cls_id was not found.

exception netlab.errors.klass.NotMemberError(message=None)

  acc_id is not on roster.

exception netlab.errors.klass.NotRegisteredError(message=None)

  con_id not registered in class.

exception netlab.errors.klass.RemoveLastLeadError(message=None)

  Returned more than one lead.