Module: Sendgrid::API::REST::Errors

Defined in:
lib/sendgrid/api/rest/errors/error.rb

Defined Under Namespace

Classes: BadRequest, Error, Forbidden, Unauthorized, Unknown, UnprocessableEntity

Constant Summary collapse

CODES =
{
  400 => BadRequest,
  401 => Unauthorized,
  403 => Forbidden,
  422 => UnprocessableEntity
}.freeze