@terascope/job-components / index / ElasticsearchError
Interface: ElasticsearchError
Defined in: packages/utils/dist/src/errors.d.ts:107
Extends
Properties
Property | Type | Defined in |
---|
body? | object | packages/utils/dist/src/errors.d.ts:108 |
body.error? | object | packages/utils/dist/src/errors.d.ts:109 |
body.error.index? | string | packages/utils/dist/src/errors.d.ts:112 |
body.error.reason? | string | packages/utils/dist/src/errors.d.ts:111 |
body.error.root_cause? | [{ index : string ; reason : string ; type : string ; }] | packages/utils/dist/src/errors.d.ts:113 |
body.error.type? | string | packages/utils/dist/src/errors.d.ts:110 |
index? | string | packages/utils/dist/src/errors.d.ts:125 |
reason? | string | packages/utils/dist/src/errors.d.ts:124 |
status? | number | packages/utils/dist/src/errors.d.ts:122 |
type? | string | packages/utils/dist/src/errors.d.ts:123 |
Methods
toJSON()
toJSON(): object
Defined in: packages/utils/dist/src/errors.d.ts:126
Returns
object
msg?
optional
msg: string
response?
optional
response: string
statusCode?
optional
statusCode: number