Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlreadyExistsError ¶
type AlreadyExistsError struct {
// contains filtered or unexported fields
}
AlreadyExistsError is an error type that indicates that the resource already exists
func NewAlreadyExistsErrorf ¶
func NewAlreadyExistsErrorf(format string, a ...any) *AlreadyExistsError
NewAlreadyExistsErrorf creates a new AlreadyExistsError with a formatted message
func (*AlreadyExistsError) Error ¶
func (e *AlreadyExistsError) Error() string
Error returns the error message
func (*AlreadyExistsError) Is ¶
func (e *AlreadyExistsError) Is(target error) bool
Is check whether the error is AlreadyExistsError
type InvalidArgumentError ¶
type InvalidArgumentError struct {
// contains filtered or unexported fields
}
InvalidArgumentError is an error type that indicates that the argument is invalid
func NewInvalidArgumentErrorf ¶
func NewInvalidArgumentErrorf(format string, a ...any) *InvalidArgumentError
NewInvalidArgumentErrorf creates a new InvalidArgumentError with a formatted message
func (*InvalidArgumentError) Error ¶
func (e *InvalidArgumentError) Error() string
Error returns the error message
func (*InvalidArgumentError) Is ¶
func (e *InvalidArgumentError) Is(target error) bool
Is check whether the error is InvalidArgumentError
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
NotFoundError is an error type that indicates that the resource is not found
func NewNotFoundErrorf ¶
func NewNotFoundErrorf(format string, a ...any) *NotFoundError
NewNotFoundErrorf creates a new NotFoundError with a formatted message
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
Error returns the error message
func (*NotFoundError) Is ¶
func (e *NotFoundError) Is(target error) bool
Is check whether the error is NotFoundError