schrodinger.application.licensing.licerror module

Provide information about FlexNet error codes to python programs.

exception schrodinger.application.licensing.licerror.LicenseException(error)

Bases: Exception

A LicenseException delivers a LicenseError up the call chain.

class schrodinger.application.licensing.licerror.LicenseError(errcode, msg, level=None, count=1, tag='', output='', cmd='')

Bases: object

A LicenseError represents a license-related error. This includes errors reported by Flexnet Publisher (aka “FLEXlm”) and more general errors.

Many errors will be standard FLEXlm errors, with standard error codes, but this class is intended to represent more general errors, as well.

FlexNet errors all have error codes.

code
message
count
advice
description
level
tag
output
cmd
add_output(text)