Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions src/core/raise_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,46 +288,6 @@ def OptionIsAlreadyExistInFile(
errMsg,
)

# --------------------------------------------------------------------
@staticmethod
def OptionValueItemIsAlreadyDefined(
filePath: str,
optName: str,
valueItem: typing.Any,
) -> typing.NoReturn:
assert type(filePath) is str
assert type(optName) is str

errMsg = "Another definition of option [{}] value item [{}] is found in the file [{}].".format(
optName,
valueItem,
filePath,
)

__class__.Helper__RaiseErr__PostgresConfigException(
errMsg,
)

# --------------------------------------------------------------------
@staticmethod
def OptionValueItemIsAlreadyDefinedInAnotherFile(
filePath: str,
optName: str,
valueItem: typing.Any,
) -> typing.NoReturn:
assert type(filePath) is str
assert type(optName) is str

errMsg = "Definition of option [{}] value item [{}] is found in another file [{}].".format(
optName,
valueItem,
filePath,
)

__class__.Helper__RaiseErr__PostgresConfigException(
errMsg,
)

# --------------------------------------------------------------------
@staticmethod
def UnknownFileName(
Expand Down
Loading
Loading