http_errors

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetInternalError

func SetInternalError(request *routing.Context, requestID string) error

SetInternalError ...

func SetInvalidParam

func SetInvalidParam(request *routing.Context, requestID string, err string) error

SetInvalidParam ...

func SetMarshallingError

func SetMarshallingError(request *routing.Context, requestID string) error

SetMarshallingError ...

func SetNotFoundError added in v0.2.1

func SetNotFoundError(request *routing.Context, requestID string) error

SetNotFoundError ...

func SetRPCError

func SetRPCError(err error, request *routing.Context, requestID string) error

SetRPCError ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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