Tide 0.1.0

tide::SpecSizeTooSmall Struct Reference

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

#include <tide/exceptions.h>

Inheritance diagram for tide::SpecSizeTooSmall:
Inheritance graph
[legend]
Collaboration diagram for tide::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 142 of file exceptions.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines