All interview questionsWhat is error.tsx used for?BeginnerAnswerIt provides a client-side error boundary for a route segment. It can show a useful message and offer a retry action.