errors

package
v0.0.0-...-68d32f8 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 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 FileNotFoundError

type FileNotFoundError struct {
	Message string
}

func (FileNotFoundError) Error

func (e FileNotFoundError) Error() string

type GRPCError

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

func (GRPCError) Error

func (e GRPCError) Error() string

func (GRPCError) GRPCStatus

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

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

type NilDBConnectionError

type NilDBConnectionError struct {
	Message string
}

func (NilDBConnectionError) Error

func (e NilDBConnectionError) Error() string

Jump to

Keyboard shortcuts

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