export

### Hierarchy

- Error
  - ImperativeError
    - BadCredentialManagerError
    - RestClientError
    - ProfInfoErr
    - PluginRequireAlreadyCreatedError
    - PluginRequireNotCreatedError
    - SettingsAlreadyInitialized
    - SettingsNotInitialized

## Index

### Constructors

- constructor

### Properties

- mDetails
- mMessage
- name
- Error

### Accessors

- additionalDetails
- causeErrors
- details
- errorCode
- message
- stack
- suppressDump

## Constructors

### constructor

- new ImperativeError(mDetails: IImperativeError, parms?: IImperativeErrorParms): ImperativeError

- - Defined in @zowe/imperative/src/error/src/ImperativeError.ts:28

  Construct the Imperative error object. Contains the defaults of the error and optionally captures diagnostics and other information.

  #### Parameters

  - ##### mDetails: IImperativeError

  - ##### Optional parms: IImperativeErrorParms

    control parameters to indicate logging of node-report and more

  #### Returns ImperativeError

## Properties

### mDetails

mDetails: IImperativeError

- Defined in @zowe/imperative/src/error/src/ImperativeError.ts:36

### Private mMessage

mMessage: string

- Defined in @zowe/imperative/src/error/src/ImperativeError.ts:28

The message generated/specified for the error - used for display/message/diagnostic purposes

memberof

  ImperativeError

### name

name: string

Inherited from ImperativeError.name

- Defined in typescript/lib/lib.es5.d.ts:973

### Static Error

Error: ErrorConstructor

- Defined in typescript/lib/lib.es5.d.ts:984

## Accessors

### additionalDetails

- get additionalDetails(): string

- - Defined in @zowe/imperative/src/error/src/ImperativeError.ts:69

  Return additionalDetails

  readonly
  memberof

    ImperativeError

  #### Returns string

### causeErrors

- get causeErrors(): any

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

  Return causeErrors

  readonly
  memberof

    ImperativeError

  #### Returns any

### details

- get details(): IImperativeError

- - Defined in @zowe/imperative/src/error/src/ImperativeError.ts:79

  Return IImperativeError object

  readonly
  memberof

    ImperativeError

  #### Returns IImperativeError

### errorCode

- get errorCode(): string

- - Defined in @zowe/imperative/src/error/src/ImperativeError.ts:89

  Return errorCode

  readonly
  memberof

    ImperativeError

  #### Returns string

### message

- get message(): string

- Overrides Error.message

  - Defined in @zowe/imperative/src/error/src/ImperativeError.ts:119

  Accessor for the error message.

  readonly
  memberof

    ImperativeError

  #### Returns string

  : The error message

### stack

- get stack(): string

- Overrides Error.stack

  - Defined in @zowe/imperative/src/error/src/ImperativeError.ts:109

  Return stack info

  readonly
  memberof

    ImperativeError

  #### Returns string

### suppressDump

- get suppressDump(): boolean

- - Defined in @zowe/imperative/src/error/src/ImperativeError.ts:99

  Return whether or not the error dump should be suppressed

  readonly
  memberof

    ImperativeError

  #### Returns boolean

Generated using TypeDoc