import StatusAction from "./StatusAction" ; export default class ErrorAction extends StatusAction { public retryButtonText : string ; private readonly _retryCallback : ( ) => void ; constructor ( key , description , retryButtonText , retryCallback ) { super ( key , description ) ; this . retryButtonText = retryButtonText ; this . _retryCallback = retryCallback ; } public retryCallback ( ) { this . _retryCallback ( ) ; } }