Using jade's runtime to throw better errors