Exception: Sigstore::TUF::Error::UnsuccessfulResponse

Inherits:
Fetch show all
Defined in:
lib/sigstore/tuf/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ UnsuccessfulResponse

Returns a new instance of UnsuccessfulResponse.



43
44
45
46
# File 'lib/sigstore/tuf/error.rb', line 43

def initialize(message, response)
  super(message)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



41
42
43
# File 'lib/sigstore/tuf/error.rb', line 41

def response
  @response
end