Job Components: `Index Elasticsearch Error`
index.ElasticsearchError
Hierarchy
Error
↳
ElasticsearchError
Table of contents
Properties
Methods
Properties
body
• Optional
body: Object
Type declaration
Name | Type |
---|---|
error? | { index? : string ; reason? : string ; root_cause? : [{ index? : string ; reason? : string ; type? : string }] ; type? : string } |
error.index? | string |
error.reason? | string |
error.root_cause? | [{ index? : string ; reason? : string ; type? : string }] |
error.type? | string |
Defined in
packages/utils/dist/src/errors.d.ts:108
index
• Optional
index: string
Defined in
packages/utils/dist/src/errors.d.ts:125
reason
• Optional
reason: string
Defined in
packages/utils/dist/src/errors.d.ts:124
status
• Optional
status: number
Defined in
packages/utils/dist/src/errors.d.ts:122
type
• Optional
type: string
Defined in
packages/utils/dist/src/errors.d.ts:123
Methods
toJSON
▸ toJSON(): Object
Returns
Object
Name | Type |
---|---|
msg? | string |
response? | string |
statusCode? | number |
Defined in
packages/utils/dist/src/errors.d.ts:126