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