util

package
v0.1.1-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(err error) *echo.HTTPError

Types

type AlreadyExistsError

type AlreadyExistsError struct {
	Path string
}

func (*AlreadyExistsError) Error

func (e *AlreadyExistsError) Error() string

type InvalidInputError

type InvalidInputError struct {
	Path string
}

func (*InvalidInputError) Error

func (e *InvalidInputError) Error() string

type MongoDBConfig

type MongoDBConfig struct {
	DBName                     string `json:"db_name"`
	OrganizationCollectionName string `json:"organization_collection_name"`
}

type NotFoundError

type NotFoundError struct {
	Path string
}

func (*NotFoundError) Error

func (e *NotFoundError) Error() string

type SystemError

type SystemError struct {
	Message string
}

func (*SystemError) Error

func (e *SystemError) Error() string

type UnauthorizedError

type UnauthorizedError struct {
	Message string
}

func (*UnauthorizedError) Error

func (e *UnauthorizedError) Error() string

Jump to

Keyboard shortcuts

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