Exception: Yp::Response::GatewayError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/response/gateway_error.rb

Direct Known Subclasses

InvalidFieldError, MissingFieldError

Defined Under Namespace

Classes: Factory

Class Method Summary collapse

Class Method Details

.from_response_code(code, message) ⇒ Object



7
8
9
# File 'lib/response/gateway_error.rb', line 7

def self.from_response_code(code, message)
  Factory.new(code, message).error
end