Documentation ¶
Index ¶
- Constants
- func CheckInvalidRequestParams(t *testing.T, err error, expectedFieldViolations []string)
- func FieldViolation(field string, err error) *errdetails.BadRequest_FieldViolation
- func InvalidArgumentError(violations []*errdetails.BadRequest_FieldViolation) error
- func NewContextWithBearerToken() context.Context
Constants ¶
View Source
const ( InternalServerError string = "An unexpected error occurred while processing your request." )
Variables ¶
This section is empty.
Functions ¶
func FieldViolation ¶
func FieldViolation(field string, err error) *errdetails.BadRequest_FieldViolation
func InvalidArgumentError ¶
func InvalidArgumentError(violations []*errdetails.BadRequest_FieldViolation) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.