mirror of https://github.com/stijndcl/didier
9 lines
273 B
Python
9 lines
273 B
Python
|
__all__ = ["MissingEnvironmentVariable"]
|
||
|
|
||
|
|
||
|
class MissingEnvironmentVariable(RuntimeError):
|
||
|
"""Exception raised when an environment variable is missing"""
|
||
|
|
||
|
def __init__(self, variable_name):
|
||
|
super().__init__(f"Missing environment variable: {variable_name}")
|