Back to Peertube

Error Page.Component

client/src/app/+error-page/error-page.component.html

8.1.51.2 KB
Original Source

@if (status === 401) { {{ status }}. You are not authorized here. @if (type === 'video') { You might need to login to see the video. } @else { You might need to login to see the resource. }

} @else if (status === 403) { {{ status }}. You are not authorized here. @if (type === 'video') { You might need to check your account is allowed by the video or instance owner. } @else { You might need to check your account is allowed by the resource or instance owner. }

} @else if (status === 418) { {{ status }}. I'm a teapot. The requested entity body blends sweet bits with a mellow earthiness.

Sepia seems to like it.

} @else { {{ status }}. That's an error. @if (type === 'video') { We couldn't find any video tied to the URL {{ pathname }} you were looking for. } @else { We couldn't find any resource tied to the URL {{ pathname }} you were looking for. }

Possible reasons:

  • You may have used an outdated or broken link
  • @if (type === 'video') { The video may have been moved or deleted } @else { The resource may have been moved or deleted }
  • You may have typed the address or URL incorrectly

}