Update example to include the checker module name. (#159)

# Describe Request

Update example to include the checker module name.

# Change Type

Documentation improvement.
This commit is contained in:
Onur Cinar 2024-12-30 12:58:02 -08:00 committed by GitHub
commit b14b02d03c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,7 +214,7 @@ Error messages are generated using Golang template functions, allowing them to i
```golang
// Custrom checker error containing the item name.
err := NewCheckErrorWithData(
err := checker.NewCheckErrorWithData(
"NOT_FRUIT",
map[string]interface{}{
"name": "abcd",