Documentation ¶
Index ¶
- func DeployError(err error) error
- func ErrorCode(err error) string
- func InternalServerError(err error) error
- func InternalServerErrorWithMessage(msg string, err error) error
- func PermissionDenied(msg string) error
- func ResourceInUseError(resourceId string, usedByResourceId string) error
- func ResourceNotFound(resourceId string) error
- func UserAlreadyExists(emailAddress string) error
- func ValidationError(err validate.ValidationError) error
- func ValidationErrors(errs []validate.ValidationError) error
- func WrappingErrors[InT any, OutT any](f func(context.Context, InT) (OutT, error)) func(context.Context, InT) (OutT, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployError ¶ added in v0.1.17
func InternalServerError ¶
func InternalServerErrorWithMessage ¶ added in v0.1.13
func PermissionDenied ¶
func ResourceInUseError ¶ added in v0.1.27
func ResourceNotFound ¶ added in v0.1.13
func UserAlreadyExists ¶ added in v0.1.38
func ValidationError ¶ added in v0.1.44
func ValidationError(err validate.ValidationError) error
func ValidationErrors ¶
func ValidationErrors(errs []validate.ValidationError) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.