Exception: GoogleMapsApis::Error::ClientError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/google_maps_apis/errors.rb

Overview

A 4xx class HTTP error occurred. The request is invalid and should not be retried without modification.

Constant Summary collapse

ERRORS_4XX =
{
  '400' => 'Bad Request',
  '401' => 'Unauthorized',
  '402' => 'Payment Required',
  '403' => 'Forbidden',
  '404' => 'Not Found',
  '405' => 'Method Not Allowed',
  '406' => 'Not Acceptable',
  '407' => 'Proxy Authentication Required',
  '408' => 'Request Timeout',
  '409' => 'Conflict',
  '415' => 'Unsupported Media Type',
  '422' => 'Unprocessable Entity',
  '429' => 'Too Many Requests'
}

Instance Attribute Summary

Attributes inherited from BaseError

#response

Method Summary

Methods inherited from BaseError

#initialize

Constructor Details

This class inherits a constructor from GoogleMapsApis::Error::BaseError