import { ILinkSaveResult } from '../model.header' ; export interface ILinkError extends Error { errors : Array < ILinkSaveResult > ; } type { Array . < { success : boolean , child : NohmModel , parent : NohmModel , error : null | Error | LinkError | ValidationError } > } name memberof /**
 * Error thrown whenever linking failed during  NohmModel .
 *
 *  class memberof extends Error export class LinkError extends Error implements ILinkError { constructor ( public errors , errorMessage = 'Linking failed. See .errors on this Error object for an Array of failures.' ) { super ( errorMessage ) ; } }