/**
 * Custom error class for errors specific to Virgil SDK.
 */ export class VirgilError extends Error { name : string ; constructor ( m , name = 'VirgilError' , DerivedClass = VirgilError ) { super ( m ) ; Object . setPrototypeOf ( this , DerivedClass . prototype ) ; this . name = name ; } }