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