Sha256: 80fdfee1dd39b574b947d53694fb5d9f04d6c9fc36d034178307a651d25ba00d

Contents?: true

Size: 177 Bytes

Versions: 9

Compression:

Stored size: 177 Bytes

Contents

module Mirage
  class Server < Sinatra::Base
    error ServerResponseNotFound do
      404
    end

    error do
      erb request.env['sinatra.error'].message
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mirage-4.0.0.alpha10 server/errors.rb
mirage-4.0.0.alpha9 server/errors.rb
mirage-4.0.0.alpha8 server/errors.rb
mirage-4.0.0.alpha6 server/errors.rb
mirage-4.0.0.alpha5 server/errors.rb
mirage-4.0.0.alpha4 server/errors.rb
mirage-4.0.0.alpha3 server/errors.rb
mirage-4.0.0.alpha2 server/errors.rb
mirage-4.0.0.alpha1 server/errors.rb