utils

package
v0.0.0-...-0fad01b Latest Latest
Warning

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

Go to latest
Published: Nov 24, 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 ErrorType

type ErrorType int16
const (
	ValidationError ErrorType = iota
	InternalError
	BusinessRuleViolationError
	NotFoundError
)

type UseCaseError

type UseCaseError struct {
	Type    ErrorType
	Message string
}

func (*UseCaseError) Error

func (e *UseCaseError) Error() string

Jump to

Keyboard shortcuts

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