diff piecrust/sources/base.py @ 555:daf8df5ade7d

serve: Refactor the server to make pieces usable by the debugging middleware.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 12 Aug 2015 23:04:46 -0700
parents 32c7c2d219d2
children ff404adfcf45
line wrap: on
line diff
--- a/piecrust/sources/base.py	Sat Aug 08 22:22:22 2015 -0700
+++ b/piecrust/sources/base.py	Wed Aug 12 23:04:46 2015 -0700
@@ -24,6 +24,10 @@
         yield f.buildPage()
 
 
+class SourceNotFoundError(Exception):
+    pass
+
+
 class InvalidFileSystemEndpointError(Exception):
     def __init__(self, source_name, fs_endpoint):
         super(InvalidFileSystemEndpointError, self).__init__(