mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
f75280ac9c
* Checks for issue 150. We run through the test files with sanitizers on. * Fix for issue 150: the remaining issues were an overrun on the depth capacity and an "off-by-1" overrun on tape capacity. * Improving makefile. * Safer git submodule command. * Getting get 'git' on circleci
18 lines
468 B
C++
18 lines
468 B
C++
#ifndef SIMDJSON_ERR_H
|
|
# define SIMDJSON_ERR_H
|
|
|
|
#include <string>
|
|
|
|
struct simdjson {
|
|
enum errorValues {
|
|
SUCCESS = 0,
|
|
CAPACITY, // This ParsedJson can't support a document that big
|
|
MEMALLOC, // Error allocating memory, most likely out of memory
|
|
TAPE_ERROR, // Something went wrong while writing to the tape
|
|
DEPTH_ERROR, // Your document exceeds the user-specified depth limitation
|
|
};
|
|
static const std::string& errorMsg(const int);
|
|
};
|
|
|
|
#endif
|