Exception: Aigen::Google::ServerError

Inherits:
ApiError show all
Defined in:
lib/aigen/google/errors.rb

Overview

Server errors (500-599)

Instance Attribute Summary

Attributes inherited from ApiError

#status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Google API server error. Please retry.", status_code: 500) ⇒ ServerError

Returns a new instance of ServerError.



44
45
46
# File 'lib/aigen/google/errors.rb', line 44

def initialize(message = "Google API server error. Please retry.", status_code: 500)
  super
end