class Vox::HTTP::Error::ServerError

Status Code 5XX

Public Class Methods

new(req_id) click to toggle source

@!visibility private Create an API error that does not have a JSON body. @param req_id [String] The trace ID of the request.

Calls superclass method
# File lib/vox/http/error.rb, line 56
def initialize(req_id)
  @trace = req_id
  super('Internal Server Error')
end