# Functions
NewErrors returns a pointer to a Errors object that has been primed and ready to go.
NewMultiErr returns a MultiErr with the given errs.
No description provided by the author
UnwrapValidationError will undo .Error() boilerplate (skipping origin information, and giving .Err).
# Constants
Aborted indicates the operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.
AlreadyExists means an attempt to create an entity failed because one already exists.
Canceled indicates the operation was canceled (typically by the caller).
DataLoss indicates unrecoverable data loss or corruption.
DeadlineExceeded means operation expired before completion.
ErrorsSeparator is the expected string to use when stringifiying multiple errors to one.
FailedPrecondition indicates operation was rejected because the system is not in a state required for the operation's execution.
Internal errors.
InvalidArgument indicates client specified an invalid argument.
NotFound means some requested entity (e.g., file or directory) was not found.
OK is returned on success.
OutOfRange means operation was attempted past the valid range.
PermissionDenied indicates the caller does not have permission to execute the specified operation.
ResourceExhausted indicates some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.
Unauthenticated indicates the request does not have valid authentication credentials for the operation.
Unavailable indicates the service is currently unavailable.
Unimplemented indicates operation is not implemented or not supported/enabled in this service.
Unknown error.
# Structs
Errors holds onto all of the error messages that get generated during the validation process.
ValidationError is the custom validation error which stores: - OriginType: the struct which gave the error - Err: the err to be wrapped by .Error().
# Interfaces
No description provided by the author