class Sinatra::ServerError

internal server error.
The ServerError exception is deprecated. Any exception is considered an

def code ; 500 ; end

def code ; 500 ; end

def initialize(*args, &block)

def initialize(*args, &block)
  sinatra_warn 'Sinatra::ServerError is deprecated;',
    'use another exception, error, or Kernel#fail instead.'
end