Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlreadyExistsError ¶
type AlreadyExistsError struct {
*BaseResponseError
}
func NewAlreadyExistsError ¶
func NewAlreadyExistsError(err error) *AlreadyExistsError
type BaseResponseError ¶
type BaseResponseError struct {
// contains filtered or unexported fields
}
func NewBaseResponseError ¶
func NewBaseResponseError(msg string, code codes.Code) *BaseResponseError
func (*BaseResponseError) Code ¶
func (e *BaseResponseError) Code() codes.Code
func (*BaseResponseError) Err ¶
func (e *BaseResponseError) Err() error
func (*BaseResponseError) Error ¶
func (e *BaseResponseError) Error() string
func (*BaseResponseError) String ¶
func (e *BaseResponseError) String() string
type CodeUnauthenticatedError ¶
type CodeUnauthenticatedError struct {
*BaseResponseError
}
func NewUnauthenticatedError ¶
func NewUnauthenticatedError(err error) *CodeUnauthenticatedError
type InternalError ¶
type InternalError struct {
*BaseResponseError
}
func NewInternalError ¶
func NewInternalError(err error) *InternalError
type InvalidArgumentError ¶
type InvalidArgumentError struct {
*BaseResponseError
}
func NewInvalidArgumentError ¶
func NewInvalidArgumentError(err error) *InvalidArgumentError
type NotFoundError ¶
type NotFoundError struct {
*BaseResponseError
}
func NewNotFoundError ¶
func NewNotFoundError(err error) *NotFoundError
type PermissionDeniedError ¶
type PermissionDeniedError struct {
*BaseResponseError
}
func NewPermissionDeniedError ¶
func NewPermissionDeniedError(err error) *PermissionDeniedError
type ResponseError ¶
type UnknownError ¶
type UnknownError struct {
*BaseResponseError
}
func NewUnknownError ¶
func NewUnknownError(err error) *UnknownError
Click to show internal directories.
Click to hide internal directories.