usererrors

package
v0.0.0-...-e768eea Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Custom Errors

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBadRequestErrorResponse

func NewBadRequestErrorResponse(msg string) *models.ErrorResponse

func NewInternalServerError

func NewInternalServerError(msg string) *models.ErrorResponse

func NewNotFoundErrorResponse

func NewNotFoundErrorResponse(msg string) *models.ErrorResponse

Types

type NotFoundError

type NotFoundError struct{}

func (*NotFoundError) Error

func (e *NotFoundError) Error() string

Jump to

Keyboard shortcuts

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