Skip to content

Commit

Permalink
Mark JSONParseError as DEPRECATED
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon committed Jul 20, 2023
1 parent e267c41 commit 5e380d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions json_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ func (pc *JSONParseConfig) Parse(r io.Reader, set func(name, value string) error
}

// JSONParseError wraps all errors originating from the JSONParser.
//
// DEPRECATED: callers should test the inner error instead of this wrapper.
type JSONParseError struct {
Inner error
}
Expand Down

0 comments on commit 5e380d6

Please sign in to comment.