Twirp_core.Error
Code for error.proto
val default_error : ?code:string -> ?msg:string -> unit -> error
default_error ()
is the default value for type error
val pp_error : Stdlib.Format.formatter -> error -> unit
pp_error v
formats v
val encode_json_error : error -> Yojson.Basic.t
encode_json_error v encoder
encodes v
to to json
val decode_json_error : Yojson.Basic.t -> error
decode_json_error decoder
decodes a error
value from decoder