package
0.0.0-20240716132614-1643519e6f91
Repository: https://github.com/triggermail/luci-go.git
Documentation: pkg.go.dev
# Functions
ShouldBeRPCAborted asserts that "actual" is an error that has a gRPC code value of codes.Aborted.
ShouldBeRPCAlreadyExists asserts that "actual" is an error that has a gRPC code value of codes.AlreadyExists.
ShouldBeRPCFailedPrecondition asserts that "actual" is an error that has a gRPC code value of codes.FailedPrecondition.
ShouldBeRPCInternal asserts that "actual" is an error that has a gRPC code value of codes.Internal.
ShouldBeRPCInvalidArgument asserts that "actual" is an error that has a gRPC code value of codes.InvalidArgument.
ShouldBeRPCNotFound asserts that "actual" is an error that has a gRPC code value of codes.NotFound.
ShouldBeRPCOK asserts that "actual" is an error that has a gRPC code value of codes.OK.
ShouldBeRPCPermissionDenied asserts that "actual" is an error that has a gRPC code value of codes.PermissionDenied.
ShouldBeRPCUnauthenticated asserts that "actual" is an error that has a gRPC code value of codes.Unauthenticated.
ShouldBeRPCUnknown asserts that "actual" is an error that has a gRPC code value of codes.Unknown.
ShouldErrLike compares an `error` or `string` on the left side, to an `error` or `string` on the right side.
ShouldHaveRPCCode is a goconvey assertion, asserting that the supplied "actual" value has a gRPC code value and, optionally, errors like a supplied message string.
ShouldPanicLike is the same as ShouldErrLike, but with the exception that it takes a panic'ing func() as its first argument, instead of the error itself.
ShouldResembleProto asserts that given two values that contain proto messages are equal by comparing their types and ensuring they serialize to the same text representation.
ShouldUnwrapTo asserts that an error, when unwrapped, equals another error.