pytoughreact.exceptions package

Submodules

pytoughreact.exceptions.custom_error module

MIT License

Copyright (c) [2022] [Temitope Ajayi]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

exception pytoughreact.exceptions.custom_error.CapillaryPressureTypeError(input_value, all_cap_pres_types)[source]

Bases: Exception

Exception raised for wrong capillary pressure inputs

__init__(input_value, all_cap_pres_types)[source]
exception pytoughreact.exceptions.custom_error.Error[source]

Bases: Exception

Base class for other exceptions

exception pytoughreact.exceptions.custom_error.MissingParameterError[source]

Bases: Exception

Exception raised when parameters are expected to be greater than three

__init__()[source]
exception pytoughreact.exceptions.custom_error.NotFoundError(input_value, directory)[source]

Bases: Exception

Exception raised when file is not found

__init__(input_value, directory)[source]
exception pytoughreact.exceptions.custom_error.ParameterLessThanThreeError[source]

Bases: Exception

Exception raised when parameters are expected to be greater than three

__init__()[source]
exception pytoughreact.exceptions.custom_error.ReactiveConstraintsError[source]

Bases: Error

Please add options for reaction calculations

exception pytoughreact.exceptions.custom_error.ReactiveOptionsError[source]

Bases: Error

Please add options for reaction calculations

exception pytoughreact.exceptions.custom_error.RelativePermeabilityTypeError(input_value, all_rel_perm_types)[source]

Bases: Exception

Exception raised for wrong relative peremability inputs

__init__(input_value, all_rel_perm_types)[source]
exception pytoughreact.exceptions.custom_error.RequiredInputError(input_value)[source]

Bases: Exception

Exception raised for missing inputs

__init__(input_value)[source]
exception pytoughreact.exceptions.custom_error.RestrictionError(*args, condition_type)[source]

Bases: Exception

__init__(*args, condition_type)[source]

Exception raised for mathematical constraints of parameters

Module contents