/**
 * Used when user cancel operation.
 */ export class OperationCanceledError extends Error { param errorMessage constructor ( errorMessage ) { super ( `Operation cancelled: ${ errorMessage }` ) ; this . name = "CancelOperationError" ; } }