error handling by case, unknown error handler
Invalid layout now raises jerror
removed custom errors, will rely on cms instead