Table of Contents

Class ForceApiException

Namespace
NetCoreForce.Client
Assembly
NetCoreForce.Client.dll
public class ForceApiException : Exception, ISerializable
Inheritance
ForceApiException
Implements
Inherited Members

Constructors

ForceApiException(string)

public ForceApiException(string message)

Parameters

message string

ForceApiException(string, ErrorResponse, HttpStatusCode)

public ForceApiException(string message, ErrorResponse error, HttpStatusCode httpStatusCode)

Parameters

message string
error ErrorResponse
httpStatusCode HttpStatusCode

ForceApiException(string, List<ErrorResponse>)

public ForceApiException(string message, List<ErrorResponse> errors)

Parameters

message string
errors List<ErrorResponse>

ForceApiException(string, List<ErrorResponse>, HttpStatusCode)

public ForceApiException(string message, List<ErrorResponse> errors, HttpStatusCode httpStatusCode)

Parameters

message string
errors List<ErrorResponse>
httpStatusCode HttpStatusCode

Properties

Errors

public List<ErrorResponse> Errors { get; set; }

Property Value

List<ErrorResponse>

HttpStatusCode

public HttpStatusCode HttpStatusCode { get; }

Property Value

HttpStatusCode

ObjectUrls

Returned when an external ID exists in more than one record Lists matching objects in object url format, e.g. "/services/data/v57.0/sobjects/Account/001XXXXXXXXXXXXXXX"

public List<string> ObjectUrls { get; set; }

Property Value

List<string>