Class SmartsheetRestException
- Namespace
- Smartsheet.Api
- Assembly
- smartsheet-csharp-sdk.dll
This is the exception to indicate errors (Error objects of Smartsheet REST API) returned from Smartsheet REST API.
Thread safety: Exceptions are not thread safe.
public class SmartsheetRestException : SmartsheetException, ISerializable
- Inheritance
-
SmartsheetRestException
- Implements
- Derived
- Inherited Members
Constructors
SmartsheetRestException(Error)
Constructor.
public SmartsheetRestException(Error error)
Parameters
error
Errorthe Error object from Smartsheet REST API
Properties
Detail
Returns the error detail
public object Detail { get; }
Property Value
- object
the error detail
ErrorCode
Returns the error Code.
public int? ErrorCode { get; }
Property Value
- int?
the error Code
RefId
Returns the refId.
public string RefId { get; }
Property Value
- string
the refId