From 4487a1ba81a7d71fdb4f684d2d4cc7fd002184dd Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 22 Dec 2023 13:46:22 -0500 Subject: [PATCH] misc: added NotFound exception --- pyzipline/exceptions.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyzipline/exceptions.py b/pyzipline/exceptions.py index a889c2b..319f8e6 100644 --- a/pyzipline/exceptions.py +++ b/pyzipline/exceptions.py @@ -10,6 +10,12 @@ class Forbidden(Exception): Raised when the authenticated user does not have the ability to do an action. """ +class NotFound(Exception): + """ + Raised when a resource cannot be found. + """ + + class PyZiplineError(Exception): """ Raised when an error occurs in the PyZipline library.