proknow.Exceptions

ProKnowError

class proknow.Exceptions.ProKnowError

All errors involved in interacting with the ProKnow DS - Python SDK modules extend this.

HttpError

class proknow.Exceptions.HttpError(status_code, body)

Errors produced at the HTTP layer.

status_code

The status code.

Type:

int

body

The response body.

Type:

str

WorkspaceLookupError

class proknow.Exceptions.WorkspaceLookupError(message)

Indicates that there was a problem looking up the workspace by the given identifier.

message

An explanation of the error.

Type:

str

CustomMetricLookupError

class proknow.Exceptions.CustomMetricLookupError(message)

Indicates that there was a problem looking up the custom metric by the given identifier.

message

An explanation of the error.

Type:

str

InvalidPathError

class proknow.Exceptions.InvalidPathError(message)

Indicates that the provided path is not valid.

message

An explanation of the error.

Type:

str

InvalidOperationError

class proknow.Exceptions.InvalidOperationError(message)

Indicates that the operation is not valid for the current object or with the given inputs.

message

An explanation of the error.

Type:

str

ScorecardTemplateLookupError

class proknow.Exceptions.ScorecardTemplateLookupError(message)

Indicates that there was a problem looking up the scorecard template by the given identifier.

message

An explanation of the error.

Type:

str

TimeoutExceededError

class proknow.Exceptions.TimeoutExceededError(message)

Indicates that the current operation exceeded the timeout limits.

message

An explanation of the error.

Type:

str