class Listo::Error::ClientError
Attributes
body[R]
headers[R]
status[R]
Public Class Methods
new(env)
click to toggle source
Calls superclass method
# File lib/listo/error.rb, line 9 def initialize(env) @status = env.dig(:status) @headers = env.dig(:headers) @body = env.dig(:body) super("the server responded with status #{@status}") end