Constants

File with constant values.

This file contains constant information about BOA.

It contains multiple classes:

  1. Meta class: it contains information about BOA.

  2. Error class: it contains status code with a descriptive name.

  3. Regex class: it contains regex strings.

  4. Other class: it contains all the constants whose goal does not match with the other classes.

class constants.Error

Error class.

It contains information about the different error status code we can find through BOA’s code. The information that it is in this class are just numeric status error with a descriptive name to know exactly the cause of the error.

When BOA finishes the execution, it displays the status code. If the status code displayed matches with Meta.ok_code, it means that everything went fine. Otherwise, check the status code within this class.

class constants.Meta

Meta class.

It contains information about BOA like the version, the description, …

class constants.Other

Other class.

This class contains all the other information that does not match with the goal of the other classes. Or does not have a concrete goal.

class constants.Regex

Regex class.

This class contains the regex which are used by other BOA modules.