Wrapper for invoke z/OSMF API through the RestClient to perform common error handling and checking and resolve promises according to generic types

export

### Hierarchy

- any
  - ZosmfRestClient

## Index

### Accessors

- log

### Methods

- appendHeaders
- processError

## Accessors

### log

- get log(): Logger

- - Defined in @zowe/core-for-zowe-sdk/src/rest/ZosmfRestClient.ts:31

  Use the Zowe logger instead of the imperative logger

  #### Returns Logger

## Methods

### Protected appendHeaders

- appendHeaders(headers: any[] | undefined): any[]

- - Defined in @zowe/core-for-zowe-sdk/src/rest/ZosmfRestClient.ts:41

  Append z/OSMF specific headers to the callers headers for cases where a header is common to every request.

  memberof

    ZosmfRestClient

  #### Parameters

  - ##### headers: any[] | undefined

    current header array

  #### Returns any[]

### Protected processError

- processError(original: IImperativeError): IImperativeError

- - Defined in @zowe/core-for-zowe-sdk/src/rest/ZosmfRestClient.ts:56

  Process an error encountered in the rest client

  memberof

    ZosmfRestClient

  #### Parameters

  - ##### original: IImperativeError

    the original error automatically built by the abstract rest client

  #### Returns IImperativeError

  - the processed error with details added

Generated using TypeDoc