parse_error_code_and_message {salesforcer}R Documentation

Function to parse out the message and status code of an HTTP error

Description

Assuming the error code is less than 500, this function will return the

Usage

parse_error_code_and_message(x)

Arguments

x

response(); a response that indicates an error

Value

list; a list containing the error code and message for printing.

Note

This function is meant to be used internally. Only use when debugging.


[Package salesforcer version 1.0.1 Index]