Versions in this module Expand all Collapse all v1 v1.0.0 Sep 19, 2021 Changes in this version + const StatusBadRequest + const StatusForbidden + const StatusInternalServerError + const StatusNotFound + const StatusNotImplemented + const StatusOK + const StatusPaymentRequired + const StatusUnauthorized + func LastResortHandler(loc string) + func LastResortHandlerWithContext(ctx context.Context, loc string) + func NewClientError(err string) error + func NewSystemError(ctx context.Context, err string) error + func NewValidationError(err string) error + func SetupEventing() + func WriteDeveloperEvent(ctx context.Context, msg string) + type Error struct + DeveloperMessage string + ErrorCode string + ErrorType int + MoreInfo string + UserMessage string + func NewError(ctx context.Context, err error) Error + func (err Error) Error() string