Skip to main content

@terascope/job-components / index / ElasticsearchError

Interface: ElasticsearchError

Extends

  • Error

Properties

body?

optional body: object

error?

optional error: object

error.index?

optional index: string

error.reason?

optional reason: string

error.root_cause?

optional root_cause: [object]

error.type?

optional type: string

Source

packages/utils/dist/src/errors.d.ts:108


index?

optional index: string

Source

packages/utils/dist/src/errors.d.ts:125


reason?

optional reason: string

Source

packages/utils/dist/src/errors.d.ts:124


status?

optional status: number

Source

packages/utils/dist/src/errors.d.ts:122


type?

optional type: string

Source

packages/utils/dist/src/errors.d.ts:123

Methods

toJSON()

toJSON(): object

Returns

object

msg?

optional msg: string

response?

optional response: string

statusCode?

optional statusCode: number

Source

packages/utils/dist/src/errors.d.ts:126