Sha256: 8a76c0af69e04f64baba9b60b5d800055c385b35a2800d752bedc2c56e795536

Contents?: true

Size: 189 Bytes

Versions: 3

Compression:

Stored size: 189 Bytes

Contents

class BaseController < Sinatra::Base
  configure do
    register Sinatra::Errorcodes

    set :raise_errors, false
    set :show_exceptions, false
    set :halt_with_errors, true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sinatra-errorcodes-0.4.2 example/base.rb
sinatra-errorcodes-0.4.1 example/base.rb
sinatra-errorcodes-0.3.1 example/base.rb