Function SaveError
Function
Type Declaration
Type Parameters
T = unknownParameters
Returns
Example
try {
await instance.save();
} catch (error) {
(error instanceof NutrientViewer.SaveError); // => true
error.message; // Useful error message
error.reason; // Array of errors for changes that could not be saved.
}
@class
Properties
any
A save error indicates a problem with saving. It is a subclass of NutrientViewer.Error that behaves like a regular JavaScript error.