dto

package
v0.0.0-...-6936808 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Title  string `json:"title"`
	Detail string `json:"detail"`
}

func InitError

func InitError() *Error

func NewError

func NewError(title, detail string) *Error

func (*Error) GetDetail

func (e *Error) GetDetail() string

func (*Error) GetTitle

func (e *Error) GetTitle() string

func (*Error) WithDetail

func (e *Error) WithDetail(detail string) *Error

func (*Error) WithTitle

func (e *Error) WithTitle(title string) *Error

Jump to

Keyboard shortcuts

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