InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-apis > Error_2
Signature:
interface Error
Property | Modifiers | Type | Description |
---|---|---|---|
code | readonly |
‘internal error’ | ‘not found’ | ‘conflict’ | ‘invalid’ | ‘unprocessable entity’ | ‘empty value’ | ‘unavailable’ | ‘forbidden’ | ‘too many requests’ | ‘unauthorized’ | ‘method not allowed’ | ‘request too large’ | ‘unsupported media type’ | code is the machine-readable error code. |
err? | readonly |
string | (Optional) Stack of errors that occurred during processing of the request. Useful for debugging. |
message? | readonly |
string | (Optional) Human-readable message. |
op? | readonly |
string | (Optional) Describes the logical code operation when the error occurred. Useful for debugging. |