Sha256: a674ba01cb8a1c477719952921a93d38aaf52a8d2cc9f6696b726c5c2917f1e5

Contents?: true

Size: 1.71 KB

Versions: 26

Compression:

Stored size: 1.71 KB

Contents

%div{ :'data-role' => :content, :'data-theme' => 'b'}
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'e'}
    %li{ :'data-role' => 'list-divider'} Server message
    %li
      %h3=[@error.class.name, @error.message].join(' - ')
    %li{ :'data-role' => 'list-divider'} Original request URI
    %li
      %a{ :href => request.env['REQUEST_URI'], :'data-ajax' => 'false'}
        %span=request.env['REQUEST_URI']
        %span{ :class => 'ui-li-count'} Retry
    %li{ :'data-role' => 'list-divider'} Error details
    %li
      - if @error.class.method_defined? :details
        %p= @error.details
      - else
        %em No details

  %div{ 'data-role' => :collapsible, 'data-collapsed' => "true"}
    %h3 Backtrace
    %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'e'}
      %li
        %pre=@error.backtrace.join("\n")

  %div{ 'data-role' => :collapsible, 'data-collapsed' => "true"}
    %h3 Parameters
    %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'e'}
      - if params.keys.empty?
        %li{ :'data-role' => 'list-divider'} No parameters
      - params.each do |key, value|
        - next if value.inspect.to_s == '#'
        %li{ :'data-role' => 'list-divider'}=key
        %li
          %span{:style => 'font-weight:normal;'}=value.inspect


  %div{ 'data-role' => :collapsible, 'data-collapsed' => "true"}
    %h3 Request details
    %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'e'}
      - request.env.each do |key, value|
        - next if value.inspect.to_s == '#'
        %li{ :'data-role' => 'list-divider'}=key
        %li
          %span{:style => 'font-weight:normal;'}=value.inspect

Version data entries

26 entries across 11 versions & 1 rubygems

Version Path
deltacloud-core-1.1.1 views/errors/504.html.haml
deltacloud-core-1.1.0 views/errors/504.html.haml
deltacloud-core-1.0.5 views/errors/504.html.haml
deltacloud-core-1.0.5 views/errors/502.html.haml
deltacloud-core-1.0.4 views/errors/502.html.haml
deltacloud-core-1.0.4 views/errors/504.html.haml
deltacloud-core-1.0.3 views/errors/502.html.haml
deltacloud-core-1.0.3 views/errors/500.html.haml
deltacloud-core-1.0.3 views/errors/504.html.haml
deltacloud-core-1.0.2 views/errors/502.html.haml
deltacloud-core-1.0.2 views/errors/500.html.haml
deltacloud-core-1.0.2 views/errors/504.html.haml
deltacloud-core-1.0.1 views/errors/504.html.haml
deltacloud-core-1.0.1 views/errors/500.html.haml
deltacloud-core-1.0.1 views/errors/502.html.haml
deltacloud-core-1.0.0 views/errors/500.html.haml
deltacloud-core-1.0.0 views/errors/504.html.haml
deltacloud-core-1.0.0 views/errors/502.html.haml
deltacloud-core-0.5.0 views/cimi/errors/502.html.haml
deltacloud-core-0.5.0 views/errors/500.html.haml