errors

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenDoesNotBelongToRefreshTokenError added in v0.1.0

type AccessTokenDoesNotBelongToRefreshTokenError struct {
	Message string
}

func (AccessTokenDoesNotBelongToRefreshTokenError) Error added in v0.1.0

type GRPCError added in v0.1.0

type GRPCError struct {
	Message string     `json:"message"`
	Status  codes.Code `json:"-"`
}

func (GRPCError) Error added in v0.1.0

func (e GRPCError) Error() string

func (GRPCError) GRPCStatus added in v0.1.0

func (e GRPCError) GRPCStatus() *status.Status

GRPCStatus is a member function, which is used by gRPC when converting an error into a status.

type InvalidJWTError

type InvalidJWTError struct {
	Message string
}

func (InvalidJWTError) Error

func (e InvalidJWTError) Error() string

type InvalidPasswordError

type InvalidPasswordError struct {
	Message string
}

func (InvalidPasswordError) Error

func (e InvalidPasswordError) Error() string

type JWTClaimsError

type JWTClaimsError struct {
	Message string
}

func (JWTClaimsError) Error

func (e JWTClaimsError) Error() string

type NilDBConnectionError

type NilDBConnectionError struct {
	Message string
}

func (NilDBConnectionError) Error

func (e NilDBConnectionError) Error() string

type RefreshTokenAlreadyExistsError added in v0.1.1

type RefreshTokenAlreadyExistsError struct {
	Message string
}

func (RefreshTokenAlreadyExistsError) Error added in v0.1.1

type RefreshTokenNotFoundError added in v0.1.1

type RefreshTokenNotFoundError struct {
	Message string
}

func (RefreshTokenNotFoundError) Error added in v0.1.1

type UserAlreadyExistsError

type UserAlreadyExistsError struct {
	Message string
}

func (UserAlreadyExistsError) Error

func (e UserAlreadyExistsError) Error() string

type UserNotFoundError

type UserNotFoundError struct {
	Message string
}

func (UserNotFoundError) Error

func (e UserNotFoundError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL