Skip to content

Instantly share code, notes, and snippets.

View rpdelaney's full-sized avatar
🏠
Working nomad

Ryan Delaney rpdelaney

🏠
Working nomad
View GitHub Profile
Click to expand!

Your detailed text here.

@rpdelaney
rpdelaney / ErrorHandlers.py
Created July 26, 2024 13:55
A python function decorator to catch exceptions and report their contents
from typing import Callable, Any
import functools
import traceback
def handle_exceptions(func: Callable[..., Any]) -> Callable[..., Any]:
"""
Decorate a function to catch and handle exceptions by returning a detailed error message.
Args:
@rpdelaney
rpdelaney / README.md
Last active May 6, 2025 21:49
How to beat the gigapedes in Devil Daggers