summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-26 00:07:39 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-26 00:08:56 -0700
commit4148776399cb7ea5e10c74dc465e4e1e682cb399 (patch)
treedaf8a3aa6521d3d56aa986f10c3d23ea1b016f4b /errors.go
parente483afa206686ce748ad270140f99fad9d713aad (diff)
Move the Parser to the internal package
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/errors.go b/errors.go
index a2d88bf..67fe6c9 100644
--- a/errors.go
+++ b/errors.go
@@ -10,6 +10,8 @@ import (
"fmt"
"reflect"
"strings"
+
+ "git.lukeshu.com/go/lowmemjson/internal"
)
var (
@@ -19,7 +21,7 @@ var (
// parser errors ///////////////////////////////////////////////////////////////////////////////////
var (
- ErrParserExceededMaxDepth = errors.New("exceeded max depth")
+ ErrParserExceededMaxDepth = internal.ErrParserExceededMaxDepth
)
// low-level decode errors /////////////////////////////////////////////////////////////////////////