mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-04 18:29:01 +08:00
7bed7ff482
Comments in headers are changed a bit: removed adoc-specific stuff, markdown is used instead PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
492 B
492 B
title | decl_name | symbol_kind | signature |
---|---|---|---|
mg_rpc_create_error() | mg_rpc_create_error | func | int mg_rpc_create_error(char *buf, int len, struct mg_rpc_request *req, int code, const char *message, const char *fmt, ...); |
Create JSON-RPC error reply in a given buffer.
Return length of the error, which
can be larger then len
that indicates an overflow.
fmt
format string should conform to json_emit()
API,
see https://github.com/cesanta/frozen