Defines an error that occurred in the CLI.

export
interface

  IImperativeError

### Hierarchy

- IImperativeError
  - IRestClientError

## Index

### Properties

- additionalDetails
- causeErrors
- errorCode
- msg
- stack
- suppressDump

## Properties

### Optional additionalDetails

additionalDetails: string

- Defined in @zowe/imperative/src/error/src/doc/IImperativeError.ts:38

any other extra contextual information (e.g. details pulled out of the cause errors)

memberof

  IImperativeError

### Optional causeErrors

causeErrors: any

- Defined in @zowe/imperative/src/error/src/doc/IImperativeError.ts:31

Original errors that caused/influenced this one

memberof

  IImperativeError

### Optional errorCode

errorCode: string

- Defined in @zowe/imperative/src/error/src/doc/IImperativeError.ts:52

If applicable, an error code, for example, HTTP status code surrounding the error

memberof

  IImperativeError

### msg

msg: string

- Defined in @zowe/imperative/src/error/src/doc/IImperativeError.ts:24

Message text of the error

memberof

  IImperativeError

### Optional stack

stack: string

- Defined in @zowe/imperative/src/error/src/doc/IImperativeError.ts:45

Error status

memberof

  IImperativeError

### Optional suppressDump

suppressDump: boolean

- Defined in @zowe/imperative/src/error/src/doc/IImperativeError.ts:59

Whether or not the error should suppress a full error dump, like in Imperative init

memberof

  IImperativeError

Generated using TypeDoc