pass error to notFound