flowserv.error module

Exceptions that are raised by the various components of the reproducible open benchmark platform.

exception flowserv.error.ConstraintViolationError(message: str)

Bases: flowserv.error.FlowservError

Exception raised when an (implicit) constraint is violated by a requested operation. Example constraints are (i) names that are expected to be unique, (ii) names that cannot have more than n characters long, etc.

exception flowserv.error.DuplicateArgumentError(identifier: str)

Bases: flowserv.error.ConstraintViolationError

Exception indicating that a given argument for a workflow run is not unique.

exception flowserv.error.DuplicateUserError(user_id: str)

Bases: flowserv.error.ConstraintViolationError

Exception indicating that a given user already exists.

exception flowserv.error.FlowservError(message: str)

Bases: Exception

Base exception indicating that a component of the reproducible and reusable data analysis server encountered an error situation.

exception flowserv.error.InvalidArgumentError(message: str)

Bases: flowserv.error.ConstraintViolationError

Exception indicating that a given template parameter argument value is not valid.

exception flowserv.error.InvalidConfigurationError(name: str, value: Any)

Bases: flowserv.error.FlowservError

Error indicating that the value for a mandatory environment variable is invalid.

exception flowserv.error.InvalidManifestError(message: str)

Bases: flowserv.error.ConstraintViolationError

Exception indicating that a given workflow manifest is invalid or has missing elements.

exception flowserv.error.InvalidParameterError(message: str)

Bases: flowserv.error.ConstraintViolationError

Exception indicating that a given template parameter is invalid.

exception flowserv.error.InvalidRunStateError(state, resulting_state=None)

Bases: flowserv.error.ConstraintViolationError

Exception indicating that an attempt to modify the state of a run was made that is not allowed in the current run state or that would result in an illegal sequence of workflow states.

exception flowserv.error.InvalidTemplateError(message: str)

Bases: flowserv.error.ConstraintViolationError

Exception indicating that a given workflow template is invalid or has missing elements.

exception flowserv.error.MissingArgumentError(identifier: str)

Bases: flowserv.error.ConstraintViolationError

Exception indicating that a required parameter in a workflow template has no argument given for a workflow run.

exception flowserv.error.MissingConfigurationError(name: str)

Bases: flowserv.error.FlowservError

Error indicating that the value for a mandatory environment variable is not set.

exception flowserv.error.UnauthenticatedAccessError

Bases: flowserv.error.FlowservError

This exception is raised if an unauthenticated user attempts to access or manipulate application resources.

exception flowserv.error.UnauthorizedAccessError

Bases: flowserv.error.FlowservError

This exception is raised if an authenticated user attempts to access or manipulate application resources that they have not authorization to.

exception flowserv.error.UnknownFileError(file_id: str)

Bases: flowserv.error.UnknownObjectError

Exception indicating that a given file identifier is unknown.

exception flowserv.error.UnknownObjectError(obj_id: str, type_name: Optional[str] = 'object')

Bases: flowserv.error.FlowservError

Generic error for references to unknown objects.

exception flowserv.error.UnknownParameterError(identifier: str)

Bases: flowserv.error.UnknownObjectError

Exception indicating that a workflow specification references a parameter that is not defined for a given template.

exception flowserv.error.UnknownRequestError(request_id: str)

Bases: flowserv.error.UnknownObjectError

Exception indicating that a given password reset request identifier is unknown.

exception flowserv.error.UnknownRunError(identifier: str)

Bases: flowserv.error.UnknownObjectError

Exception indicating that a given run identifier does not reference a known workflow run.

exception flowserv.error.UnknownUserError(user_id: str)

Bases: flowserv.error.UnknownObjectError

Exception indicating that a given user identifier is unknown.

exception flowserv.error.UnknownWorkflowError(workflow_id: str)

Bases: flowserv.error.UnknownObjectError

Exception indicating that a given workflow identifier is unknown.

exception flowserv.error.UnknownWorkflowGroupError(group_id: str)

Bases: flowserv.error.UnknownObjectError

Exception indicating that a given workflow group identifier is unknown.