The ServerError exception is deprecated. Any exception is considered an internal server error.
Public class methods
new
(*args, &block)
[show source]
# File lib/sinatra/compat.rb, line 57 57: def initialize(*args, &block) 58: sinatra_warn 'Sinatra::ServerError is deprecated;', 59: 'use another exception, error, or Kernel#fail instead.' 60: end