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
stringerror
ErrorResponsehttpStatusCode
HttpStatusCode
ForceApiException(string, List<ErrorResponse>)
public ForceApiException(string message, List<ErrorResponse> errors)
Parameters
message
stringerrors
List<ErrorResponse>
ForceApiException(string, List<ErrorResponse>, HttpStatusCode)
public ForceApiException(string message, List<ErrorResponse> errors, HttpStatusCode httpStatusCode)
Parameters
message
stringerrors
List<ErrorResponse>httpStatusCode
HttpStatusCode
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; }