A fork of hyde, the static site generation. Some patches will be pushed upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
256 B

  1. from hyde._compat import reraise
  2. class HydeException(Exception):
  3. """Base class for exceptions from hyde."""
  4. @staticmethod
  5. def reraise(message, exc_info):
  6. _, _, tb = exc_info
  7. reraise(HydeException, HydeException(message), tb)