Use Jeckle custom error on middleware definition