Esc

Error_Kind

enumextensionsince 0.36.1Source
  • macOS: Error_Kind works on macOS
  • Linux: Error_Kind works on Linux
  • Windows: Error_Kind works on Windows
  • Wasm: Error_Kind works on Wasm

Declaration

Error_Kind :: enum u8 {
    NONE;    TRUNCATED;    BAD_TAG;    BAD_WIRE_TYPE;    BAD_GROUP;    VARINT_TOO_LONG;    TOO_DEEP;    TOO_LARGE;    BAD_UTF8;    MISSING_REQUIRED;    FIELD_ZERO;// JSON that isn't valid, or a value of the wrong JSON type.    BAD_JSON;// A JSON value out of range or malformed for its field, or a value JSON can't express.    BAD_VALUE;    UNKNOWN_FIELD;    DUPLICATE_FIELD;// An Any whose type isn't in Json_Options.registry.    UNKNOWN_TYPE;}

Why encoding or decoding stopped. Decode offsets are measured from the start of input.

See also