From 6345780182dd33ca469e0315b2217ecc70ce2652 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 15 Jun 2022 21:02:04 -0400 Subject: [PATCH] Common: Add UnregisteredConventionError --- monkey/common/di_container.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/monkey/common/di_container.py b/monkey/common/di_container.py index 1f2632789..2212a8eb2 100644 --- a/monkey/common/di_container.py +++ b/monkey/common/di_container.py @@ -8,6 +8,10 @@ class UnregisteredTypeError(ValueError): pass +class UnregisteredConventionError(ValueError): + pass + + class DIContainer: """ A dependency injection (DI) container that uses type annotations to resolve and inject