class Influx::BadRequest

Overview

From InfluxDB API docs: Bad request. The line protocol data in the request is malformed. The response body contains the first malformed line in the data. InfluxDB rejected the batch and did not write any data.

Defined in:

errors.cr

Constructors

Instance Method Summary

Instance methods inherited from class Influx::KnownAPIError

code : String code, code=(code : String) code=, err : String | Nil err, err=(err : String | Nil) err=, op : String | Nil op, op=(op : String | Nil) op=

Constructor methods inherited from class Influx::KnownAPIError

new(status, message, code : String, err : Nil | String = nil, op : Nil | String = nil, cause = nil) new

Instance methods inherited from class Influx::APIError

status : HTTP::Status status, status=(status : HTTP::Status) status=

Constructor methods inherited from class Influx::APIError

new(status : HTTP::Status, message, cause = nil) new

Class methods inherited from class Influx::APIError

for_status(status, body) for_status

Constructor Detail

def self.new(status, message, code, err = nil, line = nil, op = nil, *, cause = nil) #

[View source]
def self.new(status, body, *, cause = nil) #

[View source]

Instance Method Detail

def line : Int32 | Nil #

[View source]
def line=(line : Int32 | Nil) #

[View source]