errors

package
v0.0.0-...-15f65a9 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(ctx context.Context, err error) openapi.BaseError

HandleError takes in any unforseen error and returns a BaseError to be sent to the client

func HandleValidationError

func HandleValidationError(ctx context.Context, err error) openapi.ValidationError

Types

This section is empty.

Jump to

Keyboard shortcuts

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