Skip to main content

@terascope/utils / errors / 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/src/errors.ts:399


index?

optional index: string

Source

packages/utils/src/errors.ts:417


reason?

optional reason: string

Source

packages/utils/src/errors.ts:416


status?

optional status: number

Source

packages/utils/src/errors.ts:414


type?

optional type: string

Source

packages/utils/src/errors.ts:415

Methods

toJSON()

toJSON(): object

Returns

object

msg?

optional msg: string

response?

optional response: string

statusCode?

optional statusCode: number

Source

packages/utils/src/errors.ts:419