/**
 * Error for user cancel operation
 */ export class UserCancelledError extends Error { constructor ( operation ? ) { const message = operation ? ` [${ operation }]` : "" ; super ( "User cancelled the operation" + message ) ; this . name = "UserCancelledError" ; } }