Source code for freshpy.errors.handlers

# -*- coding: utf-8 -*-
"""
:Module:            freshpy.errors.handlers
:Synopsis:          Functions that handle various error situations within the namespace
:Created By:        Jeff Shurtliff
:Last Modified:     Jeff Shurtliff
:Modified Date:     28 Dec 2021
"""

import sys


[docs]def eprint(*args, **kwargs): """This function behaves the same as the ``print()`` function but is leveraged to print errors to ``sys.stderr``.""" print(*args, file=sys.stderr, **kwargs) return