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
messagestring
ForceApiException(string, ErrorResponse, HttpStatusCode)
public ForceApiException(string message, ErrorResponse error, HttpStatusCode httpStatusCode)
Parameters
messagestringerrorErrorResponsehttpStatusCodeHttpStatusCode
ForceApiException(string, List<ErrorResponse>)
public ForceApiException(string message, List<ErrorResponse> errors)
Parameters
messagestringerrorsList<ErrorResponse>
ForceApiException(string, List<ErrorResponse>, HttpStatusCode)
public ForceApiException(string message, List<ErrorResponse> errors, HttpStatusCode httpStatusCode)
Parameters
messagestringerrorsList<ErrorResponse>httpStatusCodeHttpStatusCode
Properties
Errors
public List<ErrorResponse> Errors { get; set; }
Property Value
HttpStatusCode
public HttpStatusCode HttpStatusCode { get; }
Property Value
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; }