The ServerError exception is deprecated. Any exception is considered an internal server error.
[Source]
# File lib/sinatra/compat.rb, line 68 68: def initialize(*args, &block) 69: sinatra_warn 'Sinatra::ServerError is deprecated;', 70: 'use another exception, error, or Kernel#fail instead.' 71: end
# File lib/sinatra/compat.rb, line 72 72: def code ; 500 ; end
[Validate]