mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
rebase: bump the golang-dependencies group with 1 update
Bumps the golang-dependencies group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto). Updates `golang.org/x/crypto` from 0.16.0 to 0.17.0 - [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor dependency-group: golang-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
1ad79314f9
commit
e5d9b68d36
8
vendor/github.com/google/cel-go/common/error.go
generated
vendored
8
vendor/github.com/google/cel-go/common/error.go
generated
vendored
@ -22,10 +22,16 @@ import (
|
||||
"golang.org/x/text/width"
|
||||
)
|
||||
|
||||
// Error type which references a location within source and a message.
|
||||
// NewError creates an error associated with an expression id with the given message at the given location.
|
||||
func NewError(id int64, message string, location Location) *Error {
|
||||
return &Error{Message: message, Location: location, ExprID: id}
|
||||
}
|
||||
|
||||
// Error type which references an expression id, a location within source, and a message.
|
||||
type Error struct {
|
||||
Location Location
|
||||
Message string
|
||||
ExprID int64
|
||||
}
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user