Change to Frame.ts to display the underlying error instead of displaying a generic error message on navigation

Added code to display error in frame