Skip to content

ResponseError

[Source]

class val ResponseError

Constructors

create

[Source]

new val create(
  code': I64 val,
  message': String val,
  data': (F64 val | I64 val | Bool val | 
    None val | String val | JsonArray val | 
    JsonObject val) = reference)
: ResponseError val^

Parameters

Returns


Public fields

let code: I64 val

[Source]


let message: String val

[Source]


let data: (F64 val | I64 val | Bool val | None val | String val | JsonArray val | JsonObject val)

[Source]


Public Functions

json

[Source]

fun box json()
: JsonObject val

Returns