NutrientException
NutrientException is the error type used by the Nutrient .NET SDK for failed native operations. It derives from System.Exception.
using Nutrient;
try{ using Document document = Document.Open("input.pdf");}catch (NutrientException error){ Console.WriteLine($"{error.Code}: {error.Message}");}Properties
| Property | Type | Description |
|---|---|---|
Code | int | Native error code. |
ErrorType | string | Name of the native error type. |
Message | string | Error message, including the code. |