diff --git a/dbl/http.py b/dbl/http.py
index <HASH>..<HASH> 100644
--- a/dbl/http.py
+++ b/dbl/http.py
@@ -84,7 +84,7 @@ class HTTPClient:
         async with rate_limiter:  # this works but doesn't 'save' over restart. need a better implementation.
 
             if not self.token:
-                raise UnauthorizedDetected("DBL token not provided")
+                raise errors.UnauthorizedDetected("DBL token not provided")
 
             headers = {
                 'User-Agent': self.user_agent,
Fix usage of UnauthorizedDetected

Was throwing a NameError.