aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/errors/error.html.haml
blob: 8bc508f6eea3f7bee648d00ebaf232c80d9ea0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
%h1= response.status
.lead
  - case @exception
  - when Aclog::Exceptions::TweetNotFound
    ツイートが見つかりませんでした。
  - when Aclog::Exceptions::UserNotFound
    ユーザーが見つかりませんでした。
  - when Aclog::Exceptions::UserNotRegistered
    ユーザーは aclog に登録していません。
  - when Aclog::Exceptions::UserProtected
    ユーザーは非公開です。
  - when Aclog::Exceptions::LoginRequired
    このページの表示にはログインが必要です。
  - when ActionController::RoutingError
    不正な URL です。
  - else
    - if response.status == 404
      Not Found (Unknown)
    - else
      Internal Error (Unknown)