view error handling location and layout