# Functions
Duplicate returns a *Error indicating "duplicate value".
Forbidden returns a *Error indicating "forbidden".
InternalError returns a *Error indicating "internal error".
Invalid returns a *Error indicating "invalid value".
NewErrorTypeMatcher returns an errors.Matcher that returns true if the provided error is a Error and has the provided ErrorType.
NewPath creates a root Path object.
NotFound returns a *Error indicating "value not found".
NotSupported returns a *Error indicating "unsupported value".
Required returns a *Error indicating "value required".
TooLong returns a *Error indicating "too long".
# Constants
ErrorTypeDuplicate is used to report collisions of values that must be unique (e.g.
ErrorTypeForbidden is used to report valid (as per formatting rules) values which would be accepted under some conditions, but which are not permitted by the current conditions (such as security policy).
ErrorTypeInternal is used to report other errors that are not related to user input.
ErrorTypeInvalid is used to report malformed values (e.g.
ErrorTypeNotFound is used to report failure to find a requested value (e.g.
ErrorTypeNotSupported is used to report unknown values for enumerated fields (e.g.
ErrorTypeRequired is used to report required values that are not provided (e.g.
ErrorTypeTooLong is used to report that the given value is too long.