diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-26 00:07:39 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-26 00:08:56 -0700 |
commit | 4148776399cb7ea5e10c74dc465e4e1e682cb399 (patch) | |
tree | daf8a3aa6521d3d56aa986f10c3d23ea1b016f4b /errors.go | |
parent | e483afa206686ce748ad270140f99fad9d713aad (diff) |
Move the Parser to the internal package
Diffstat (limited to 'errors.go')
-rw-r--r-- | errors.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 ///////////////////////////////////////////////////////////////////////// |