Tawara  0.1.0
tawara::SpecSizeTooSmall Struct Reference

A specified size for a variable-length integer is too small. More...

#include <tawara/exceptions.h>

Inheritance diagram for tawara::SpecSizeTooSmall:
Inheritance graph
[legend]
Collaboration diagram for tawara::SpecSizeTooSmall:
Collaboration graph
[legend]

Detailed Description

A specified size for a variable-length integer is too small.

Encountered when encoding a variable-length integer into a fixed size. Usually, this is a size that is larger than would normally be necessary, but if the variable-length integer requires more bytes than the specified fixed size, this error will occur.

The err_varint tag may be included, indicating the value that was attempted to be encoded.

The err_reqsize tag may be included, indicating the size is required to encode the integer.

The err_specsize tag may be included, giving the size that was requested.

Definition at line 153 of file exceptions.h.


The documentation for this struct was generated from the following file: