/** * Author: * xtbj@cn.ibm.com */ import { ImperativeError } from "@zowe/imperative"; export declare class ErrorMsgHandler { /** * This is a menthod to handle the error message based on the failed response from REST API * * @param response - Response from NetView REST API */ static handleErrorMsg(err: ImperativeError): void; /** * This is a menthod to generate the error message based on the error details. * * @param reason - the reason text to describe why the error occurred. * @param rc - the reason code which is defined for the error reason. */ static generateErrorMsg(reason: string, rc: string): string; }